aboutsummaryrefslogtreecommitdiffstats
path: root/filters.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-28 22:28:31 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-28 22:28:31 +0000
commit22a76b4ca65ab6e710e2c5f9fec5d2153fbcdc33 (patch)
tree93821ea8f8d081ada6afc307a04fecb2768f15c1 /filters.c
parent5999b61fdd24f6fddf1e3197b0e5f26cf279534f (diff)
Include <direct.h>, if we have it, to declare "mkdir()" on Windows.
svn path=/trunk/; revision=2953
Diffstat (limited to 'filters.c')
-rw-r--r--filters.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/filters.c b/filters.c
index 2aeacbf1d6..8c00ca7e58 100644
--- a/filters.c
+++ b/filters.c
@@ -1,7 +1,7 @@
/* filters.c
* Code for reading and writing the filters file.
*
- * $Id: filters.c,v 1.3 2001/01/28 09:13:07 guy Exp $
+ * $Id: filters.c,v 1.4 2001/01/28 22:28:31 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -40,6 +40,10 @@
#include <unistd.h>
#endif
+#ifdef HAVE_DIRECT_H
+#include <direct.h> /* to declare "mkdir()" on Windows */
+#endif
+
#include <glib.h>
#include <epan.h>