summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorPatrick Spendrin <ps_ml@gmx.de>2008-02-24 20:39:42 +0100
committerAlbert Astals Cid <aacid@kde.org>2008-02-24 20:39:42 +0100
commitf00436b63bf9a42dcb2728a07db9c20f1f23d0bc (patch)
tree3fa1cd06fa13640d495a6f677097fa14afb78352 /utils
parente1463451c584181f918265438cf6ddcb408bf731 (diff)
Add proper dirent.h guards
Diffstat (limited to 'utils')
-rw-r--r--utils/pdftoabw.cc2
-rw-r--r--utils/pdftohtml.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/utils/pdftoabw.cc b/utils/pdftoabw.cc
index 646f9964..1de338d5 100644
--- a/utils/pdftoabw.cc
+++ b/utils/pdftoabw.cc
@@ -12,7 +12,9 @@
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
+#ifdef HAVE_DIRENT_H
#include <dirent.h>
+#endif
#include <time.h>
#include "parseargs.h"
#include "goo/GooString.h"
diff --git a/utils/pdftohtml.cc b/utils/pdftohtml.cc
index 30a2818b..1ebd7af9 100644
--- a/utils/pdftohtml.cc
+++ b/utils/pdftohtml.cc
@@ -12,7 +12,9 @@
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
+#ifdef HAVE_DIRENT_H
#include <dirent.h>
+#endif
#include <time.h>
#include "parseargs.h"
#include "goo/GooString.h"