aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2007-05-07 06:17:58 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2007-05-07 06:17:58 +0000
commit119634f650bf9d80eaaa4f533922f9b378ead1b5 (patch)
treed1fcfb962fd3f573e69807377d8a60839df3e851
parentfd108518eddcef7aa76f986d55d8e5094405dc02 (diff)
GTK1 does not have GDir and as such needs to include dirent.h
Since wiretap.h is not autogenerated, just make wtap-plugins.h include the top level config.h to pull in the defines for HAVE_DIRENT which was checked at top level svn path=/trunk/; revision=21707
-rw-r--r--wiretap/wtap-plugins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/wtap-plugins.c b/wiretap/wtap-plugins.c
index f4e8b617cb..663140b7a2 100644
--- a/wiretap/wtap-plugins.c
+++ b/wiretap/wtap-plugins.c
@@ -21,7 +21,8 @@
*/
#ifdef HAVE_CONFIG_H
-# include "config.h"
+#include "config.h"
+#include "../config.h"
#endif
#include <glib.h>