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_strbuf.c | |
parent | cfa2dc5f6e9abf6e82a4e2fe872bb93d85e98bfe (diff) |
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_strbuf.c')
-rw-r--r-- | epan/wmem/wmem_strbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wmem/wmem_strbuf.c b/epan/wmem/wmem_strbuf.c index 381cee9bdc..00062b6142 100644 --- a/epan/wmem/wmem_strbuf.c +++ b/epan/wmem/wmem_strbuf.c @@ -23,11 +23,11 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" + #include <string.h> #include <glib.h> -#include "config.h" - #include "wmem_core.h" #include "wmem_strbuf.h" |