Include config.h first; it defines _FILE_OFFSET_BITS, and if some system
authorGuy Harris <guy@alum.mit.edu>
Wed, 14 Aug 2013 01:15:59 +0000 (01:15 -0000)
committerGuy Harris <guy@alum.mit.edu>
Wed, 14 Aug 2013 01:15:59 +0000 (01:15 -0000)
header later causes it to be redefined - as happens on my Solaris 11
virtual machine - we get a redefinition warning, which gets treated as
an error.

svn path=/trunk/; revision=51349

epan/value_string.c

index f36395672651c2bc26d7adace7c1a16a651a6522..d5a11ba9c50f223d1536dbd3c255c66312718dd4 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include "config.h"
+
 #include <stdio.h>
 #include <string.h>
 
-#include "config.h"
-
 #include "emem.h"
 #include "wmem/wmem.h"
 #include "proto.h"