Don't include <sys/cdefs.h> for NetBSD
We needed it for the BSD symbol to be defined, while __NetBSD__ is defined with a compiler. Thanks Andy Green for the initial fix. Signed-off-by: Kamil Rytarowski <n54@gmx.com>
This commit is contained in:
parent
8df3ef15ab
commit
e841206653
2 changed files with 0 additions and 3 deletions
|
@ -141,7 +141,6 @@ struct sockaddr_in;
|
|||
#include <unistd.h>
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/cdefs.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@
|
|||
#endif
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
#include <sys/cdefs.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
@ -958,4 +957,3 @@ bail1:
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue