From e8f42c6b48006a81104b5c50b755c6bcab20ce2e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 14 Aug 2013 00:31:14 +0000 Subject: Include config.h first; it defines _FILE_OFFSET_BITS, and if some system 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=51344 --- epan/wmem/wmem_allocator_simple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/wmem/wmem_allocator_simple.c') diff --git a/epan/wmem/wmem_allocator_simple.c b/epan/wmem/wmem_allocator_simple.c index c08abb0dee..2a38d121e9 100644 --- a/epan/wmem/wmem_allocator_simple.c +++ b/epan/wmem/wmem_allocator_simple.c @@ -23,12 +23,12 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" + #include #include -#include "config.h" - #include "wmem_core.h" #include "wmem_allocator.h" -- cgit v1.2.1