diff options
author | Patrick Spendrin <ps_ml@gmx.de> | 2008-02-24 20:39:42 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-02-24 20:39:42 +0100 |
commit | f00436b63bf9a42dcb2728a07db9c20f1f23d0bc (patch) | |
tree | 3fa1cd06fa13640d495a6f677097fa14afb78352 /utils | |
parent | e1463451c584181f918265438cf6ddcb408bf731 (diff) |
Add proper dirent.h guards
Diffstat (limited to 'utils')
-rw-r--r-- | utils/pdftoabw.cc | 2 | ||||
-rw-r--r-- | utils/pdftohtml.cc | 2 |
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" |