[poppler] utils/pdftoabw.cc utils/pdftohtml.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sun Feb 24 11:40:53 PST 2008
utils/pdftoabw.cc | 2 ++
utils/pdftohtml.cc | 2 ++
2 files changed, 4 insertions(+)
New commits:
commit f00436b63bf9a42dcb2728a07db9c20f1f23d0bc
Author: Patrick Spendrin <ps_ml at gmx.de>
Date: Sun Feb 24 20:39:42 2008 +0100
Add proper dirent.h guards
diff --git a/utils/pdftoabw.cc b/utils/pdftoabw.cc
index 646f996..1de338d 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 30a2818..1ebd7af 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"
More information about the poppler
mailing list