summaryrefslogtreecommitdiff
path: root/src/xcursorint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xcursorint.h')
-rw-r--r--src/xcursorint.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xcursorint.h b/src/xcursorint.h
index d8f9ea3..121fb29 100644
--- a/src/xcursorint.h
+++ b/src/xcursorint.h
@@ -38,6 +38,13 @@
#include "Xcursor.h"
#include "config.h"
+#include <fcntl.h>
+#ifdef O_CLOEXEC
+#define FOPEN_CLOEXEC "e"
+#else
+#define FOPEN_CLOEXEC ""
+#endif
+
typedef struct _XcursorFontInfo {
struct _XcursorFontInfo *next;
Font font;