summaryrefslogtreecommitdiff
path: root/lib/fileutils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fileutils.cc')
-rw-r--r--lib/fileutils.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/fileutils.cc b/lib/fileutils.cc
index b04a414..6e3ef17 100644
--- a/lib/fileutils.cc
+++ b/lib/fileutils.cc
@@ -21,7 +21,12 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include "generic.h"
unsigned long filesize(int f_iso)