aboutsummaryrefslogtreecommitdiff
path: root/src/appl/bsd/loginpaths.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/appl/bsd/loginpaths.h')
-rw-r--r--src/appl/bsd/loginpaths.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/appl/bsd/loginpaths.h b/src/appl/bsd/loginpaths.h
index 2f2de0b..41683ee 100644
--- a/src/appl/bsd/loginpaths.h
+++ b/src/appl/bsd/loginpaths.h
@@ -94,3 +94,18 @@
#define RPATH "/usr/bin:/bin"
#endif
#endif
+
+#ifdef _PATH_DEFPATH
+#define LPATH _PATH_DEFPATH
+#define RPATH _PATH_DEFPATH
+#endif
+
+/* catch-all entries for operating systems we haven't looked up
+ hardcoded paths for */
+#ifndef LPATH
+#define LPATH "/usr/bin:/bin"
+#endif
+
+#ifndef RPATH
+#define RPATH "/usr/bin:/bin"
+#endif