projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'jc/grep' into next
[git.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index f982b8e48469a5f09698808d1e55ded04d5923b8..5d543d29f85e432a89bb8cbfbe2d18205599b06f 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-9,6
+9,8
@@
#endif
#endif
+#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
+
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>