summaryrefslogtreecommitdiff
path: root/src/ratpoison.h
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-01-03 00:25:56 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-01-03 00:25:56 +0100
commit2eeac71c8f4af60bf760ec6f0ad228c1cb4c0b4b (patch)
tree0dc467f73e2c56cefcac73228bac22a51ed7d5a8 /src/ratpoison.h
parenteb524d8b80a72c04c9e7381b6c8bad6e4f7e3b52 (diff)
downloadratpoison-2eeac71c8f4af60bf760ec6f0ad228c1cb4c0b4b.zip
FD_CLOEXEC is only used in set_close_on_exec().
Diffstat (limited to 'src/ratpoison.h')
-rw-r--r--src/ratpoison.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ratpoison.h b/src/ratpoison.h
index f517b5d..a375957 100644
--- a/src/ratpoison.h
+++ b/src/ratpoison.h
@@ -33,11 +33,6 @@
#include <X11/Xlocale.h>
#include <fcntl.h>
-/* Some systems don't define the close-on-exec flag in fcntl.h */
-#ifndef FD_CLOEXEC
-# define FD_CLOEXEC 1
-#endif
-
/* Helper macro for error and debug reporting. */
#define PRINT_LINE(type) printf (PACKAGE ":%s:%d: %s: ",__FILE__, __LINE__, #type)