projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
silence git gc --auto --quiet output
[git.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index fd732d7243a9266302751189c32a57fd441a671d..24b5432462234ee25123cb5aa96222bab0f9e28f 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-167,6
+167,17
@@
extern int compat_mkdir_wo_trailing_slash(const char*, mode_t);
#endif
extern int compat_mkdir_wo_trailing_slash(const char*, mode_t);
#endif
+#ifdef NO_STRUCT_ITIMERVAL
+struct itimerval {
+ struct timeval it_interval;
+ struct timeval it_value;
+}
+#endif
+
+#ifdef NO_SETITIMER
+#define setitimer(which,value,ovalue)
+#endif
+
#ifndef NO_LIBGEN_H
#include <libgen.h>
#else
#ifndef NO_LIBGEN_H
#include <libgen.h>
#else