summaryrefslogtreecommitdiff
path: root/lib/netdev-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/netdev-bsd.c')
-rw-r--r--lib/netdev-bsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
index 273ec8e3f..3b0ad3e53 100644
--- a/lib/netdev-bsd.c
+++ b/lib/netdev-bsd.c
@@ -15,6 +15,7 @@
* limitations under the License.
*/
+#if !defined(__MACH__)
#include <config.h>
#include "netdev-provider.h"
@@ -1826,3 +1827,4 @@ af_link_ioctl(unsigned long command, const void *arg)
: 0);
}
#endif
+#endif /* !defined(__MACH__) */