aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/io.c b/io.c
index 6024c4f9..333d8704 100644
--- a/io.c
+++ b/io.c
@@ -152,6 +152,10 @@
#define INCREMENT_REC(X) X++
#endif
+/* This is for fake directory file descriptors on systems that don't
+ allow to open() a directory. */
+#define FAKE_FD_VALUE 42
+
typedef enum { CLOSE_ALL, CLOSE_TO, CLOSE_FROM } two_way_close_type;
/* Several macros to make the code a bit clearer. */