projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
inline syscall support for mips
[musl]
/
include
/
net
/
if.h
diff --git
a/include/net/if.h
b/include/net/if.h
index
00c763a
..
5813976
100644
(file)
--- a/
include/net/if.h
+++ b/
include/net/if.h
@@
-5,6
+5,8
@@
extern "C" {
#endif
+#include <features.h>
+
#define IF_NAMESIZE 16
struct if_nameindex
@@
-21,7
+23,7
@@
void if_freenameindex (struct if_nameindex *);
-#if
def _GNU_SOURCE
+#if
defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#include <sys/socket.h>