Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/maint-pull-dry-run-noop' into maint
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index c4f4e15036577bc0c55d19cef26fd0ce26b233ad..c9e711872f1a2380d273f7149b4795a4a9852c06 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-164,6
+164,13
@@
extern char *gitbasename(char *);
#define PATH_SEP ':'
#endif
+#ifdef HAVE_PATHS_H
+#include <paths.h>
+#endif
+#ifndef _PATH_DEFPATH
+#define _PATH_DEFPATH "/usr/local/bin:/usr/bin:/bin"
+#endif
+
#ifndef STRIP_EXTENSION
#define STRIP_EXTENSION ""
#endif