aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/emacsclient.c
diff options
context:
space:
mode:
authorKaroly Lorentey <[email protected]>2006-04-01 12:54:10 +0000
committerKaroly Lorentey <[email protected]>2006-04-01 12:54:10 +0000
commit6bcc8ec7eb185314e1b24f285fdcc1e7093c1bc1 (patch)
tree82e905503bd7b655473878908625615e3d795705 /lib-src/emacsclient.c
parentdc4a4a14333208dc2519888c0d5ccfc53783073d (diff)
Fix OpenBSD compilation some more. (Fix by Han Boetes.)
* lib-src/emacsclient.c: Copy IS_*_SEP definitions from lisp.h. git-archimport-id: [email protected]/emacs--multi-tty--0--patch-541
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r--lib-src/emacsclient.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 237c398772..870a39b910 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -45,6 +45,25 @@ Boston, MA 02110-1301, USA. */
#include <signal.h>
#include <errno.h>
+/* From lisp.h */
+#ifndef DIRECTORY_SEP
+#define DIRECTORY_SEP '/'
+#endif
+#ifndef IS_DIRECTORY_SEP
+#define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP)
+#endif
+#ifndef IS_DEVICE_SEP
+#ifndef DEVICE_SEP
+#define IS_DEVICE_SEP(_c_) 0
+#else
+#define IS_DEVICE_SEP(_c_) ((_c_) == DEVICE_SEP)
+#endif
+#endif
+#ifndef IS_ANY_SEP
+#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_))
+#endif
+
+
char *getenv (), *getwd ();
char *(getcwd) ();