gitweb: Move static files into seperate subdirectory
[gitweb.git] / git-compat-util.h
index 001e5db4bbfb55c954168dd9b35cf3861b7a0c29..edf352dee2271bcc1e328c43330ca9a8248c01b3 100644 (file)
@@ -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