diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/if.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/if.h b/include/net/if.h index 00c763a4..e862c7c7 100644 --- a/include/net/if.h +++ b/include/net/if.h @@ -21,7 +21,7 @@ void if_freenameindex (struct if_nameindex *); -#ifdef _GNU_SOURCE +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #include <sys/socket.h> |