Ethereal-dev: [Ethereal-dev] AC_SYS_LARGEFILE and gtk/cfilter_combo_utils.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 29 Dec 2004 14:06:55 -0600
"config.h" should always be included first first when using
AC_SYS_LARGEFILE. The IBM v7 compiler on AIX 5.2 died without the
patch below.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)

-- snip snip
--- gtk/cfilter_combo_utils.c.orig	2004-12-29 13:58:36.000000000 -0600
+++ gtk/cfilter_combo_utils.c	2004-12-29 13:58:58.000000000 -0600
@@ -22,6 +22,10 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <string.h>
 #include <gtk/gtk.h>
 #include "compat_macros.h"