summaryrefslogtreecommitdiff
path: root/lib/Output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Output.cc')
-rw-r--r--lib/Output.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Output.cc b/lib/Output.cc
index 1ebf6db..99fff7a 100644
--- a/lib/Output.cc
+++ b/lib/Output.cc
@@ -1,13 +1,14 @@
#include <stdio.h>
-#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
#include "Output.h"
#include "Exceptions.h"
#include "gettext.h"