tests: remove unnecessary '^' from 'expr' regular expression
[gitweb.git] / git-compat-util.h
index c4f4e15036577bc0c55d19cef26fd0ce26b233ad..c9e711872f1a2380d273f7149b4795a4a9852c06 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