summaryrefslogtreecommitdiffstats
path: root/compat/getifaddrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/getifaddrs.c')
-rwxr-xr-xcompat/getifaddrs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/getifaddrs.c b/compat/getifaddrs.c
index 971a9d28..8acd4840 100755
--- a/compat/getifaddrs.c
+++ b/compat/getifaddrs.c
@@ -1,3 +1,5 @@
+#include "config.h"
+#ifndef HAVE_GETIFADDRS
/*
* CDDL HEADER START
*
@@ -23,7 +25,6 @@
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
*/
-#ifndef HAVE_GETIFADDRS
#include <netdb.h>
#include <nss_dbdefs.h>
#include <netinet/in.h>