From 119634f650bf9d80eaaa4f533922f9b378ead1b5 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Mon, 7 May 2007 06:17:58 +0000 Subject: [PATCH] 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 --- wiretap/wtap-plugins.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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