diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-08-14 00:31:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-08-14 00:31:14 +0000 |
commit | e8f42c6b48006a81104b5c50b755c6bcab20ce2e (patch) | |
tree | c0a13a59d59f4aec9b9e7573cc4a300d87ff6988 /epan/wmem/wmem_tree.c | |
parent | cfa2dc5f6e9abf6e82a4e2fe872bb93d85e98bfe (diff) | |
download | wireshark-e8f42c6b48006a81104b5c50b755c6bcab20ce2e.tar.gz |
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
Diffstat (limited to 'epan/wmem/wmem_tree.c')
-rw-r--r-- | epan/wmem/wmem_tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/wmem/wmem_tree.c b/epan/wmem/wmem_tree.c index 037f4191e2..43116b0af5 100644 --- a/epan/wmem/wmem_tree.c +++ b/epan/wmem/wmem_tree.c @@ -24,12 +24,13 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" + #include <ctype.h> #include <string.h> #include <stdio.h> #include <glib.h> -#include "config.h" #include "wmem_core.h" #include "wmem_tree.h" #include "wmem_user_cb.h" |