summaryrefslogtreecommitdiff
path: root/prefs.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1998-12-17 05:42:33 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1998-12-17 05:42:33 +0000
commit5676298385a1abe5b04490e06485e965f5c54107 (patch)
treec7a1862fa9f17082e0a5b4adc6b86abe34808761 /prefs.c
parentf5e3259b0a1ef70517093cd93e25a7d5b0cd1563 (diff)
downloadwireshark-5676298385a1abe5b04490e06485e965f5c54107.tar.gz
A patch spread across many files to let Ethereal compile under GTK+-1.1.x.
Tests for GTK versions are done during compilation, not during "./configure". The big problems have been taken care of in this patch (functional change in the packet clist and conversion of menu_factory to item_factory), but plenty of smaller problems with dialogue boxes abound. I have fixed a small problem with file_open*(), but have left 2 comments in just in case I'm not going about this the right way. Can someone verify? svn path=/trunk/; revision=127
Diffstat (limited to 'prefs.c')
-rw-r--r--prefs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/prefs.c b/prefs.c
index 8ee1595d38..d0372585b3 100644
--- a/prefs.c
+++ b/prefs.c
@@ -1,7 +1,7 @@
/* prefs.c
* Routines for handling preferences
*
- * $Id: prefs.c,v 1.12 1998/11/18 03:17:18 gerald Exp $
+ * $Id: prefs.c,v 1.13 1998/12/17 05:42:29 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -33,6 +33,7 @@
#include <gtk/gtk.h>
+#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include <unistd.h>