summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-02 11:37:45 -0500
committerDana Jansens <danakj@orodu.net>2008-02-02 11:37:45 -0500
commit464e4c59cba073a7e8648fe587487c775708f0d7 (patch)
tree21c2bf2d32f172b286e48b6064406ed0fb5750eb /openbox
parent0dc7eca4cdfff6425e19a0bace0f9ae8834d04e8 (diff)
missing include
Diffstat (limited to 'openbox')
-rw-r--r--openbox/debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/debug.c b/openbox/debug.c
index 5a976d0c..42644868 100644
--- a/openbox/debug.c
+++ b/openbox/debug.c
@@ -26,6 +26,10 @@
#include <stdio.h>
#include <errno.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
static gboolean enabled_types[OB_DEBUG_TYPE_NUM] = {FALSE};
static FILE *log_file = NULL;
static guint rr_handler_id = 0;