aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-12-02 02:32:39 -0800
committerGuy Harris <guy@alum.mit.edu>2016-12-02 10:33:42 +0000
commit6ac40522af625971a6cb7b7e1ab56c7834e335db (patch)
tree1e154a8b59619366db9b674520c290fc2147e927
parent6e0278989c29a401f22485fd295bcc2486160241 (diff)
Make sure config.h is included before inet_addr.h.
Otherwise, _FILE_OFFSET_BITS might be defined by a header file included by inet_addr.h before it gets defined by config.h. Change-Id: I5987b3f1493b81fd2d427d9792b9606117b255d0 Reviewed-on: https://code.wireshark.org/review/19018 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--wsutil/inet_addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/inet_addr.c b/wsutil/inet_addr.c
index d56c955def..0059f6ccfb 100644
--- a/wsutil/inet_addr.c
+++ b/wsutil/inet_addr.c
@@ -19,12 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "config.h"
+
#include "inet_addr.h"
#include "inet_addr-int.h"
-
-
static inline gboolean
_inet_pton(int af, const gchar *src, gpointer dst)
{