summaryrefslogtreecommitdiffstats
path: root/src/rccxml.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 21:02:01 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 21:02:01 +0000
commit4032f92867e5570f130e4175b3b4fb61240f9752 (patch)
tree4e56172ca9f3f586d85d912a487357d9fe3496ed /src/rccxml.c
parent7a6b6a56dabe1e62a0fbc6222c090aa077bcadc7 (diff)
downloadlibrcc-4032f92867e5570f130e4175b3b4fb61240f9752.tar.gz
librcc-4032f92867e5570f130e4175b3b4fb61240f9752.tar.bz2
librcc-4032f92867e5570f130e4175b3b4fb61240f9752.tar.xz
librcc-4032f92867e5570f130e4175b3b4fb61240f9752.zip
0.1.0
Diffstat (limited to 'src/rccxml.c')
-rw-r--r--src/rccxml.c26
1 files changed, 21 insertions, 5 deletions
diff --git a/src/rccxml.c b/src/rccxml.c
index b7cc1d8..c7ee405 100644
--- a/src/rccxml.c
+++ b/src/rccxml.c
@@ -1,11 +1,27 @@
#include <stdio.h>
#include <stdarg.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/file.h>
+#include "../config.h"
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif /* HAVE_UNISTD_H */
+
+#ifdef HAVE_FCNTL_H
+# include <fcntl.h>
+#endif /* HAVE_FCNTL_H */
+
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif /* HAVE_SYS_TYPES_H */
+
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif /* HAVE_SYS_STAT_H */
+
+#ifdef HAVE_SYS_FILE_H
+# include <sys/file.h>
+#endif /* HAVE_SYS_FILE_H */
#include <libxml/parser.h>
#include <libxml/tree.h>