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:
Kamil Rytarowski 2016-02-27 03:18:43 +01:00 committed by Andy Green
parent 8df3ef15ab
commit e841206653
2 changed files with 0 additions and 3 deletions

View file

@ -141,7 +141,6 @@ struct sockaddr_in;
#include <unistd.h>
#if defined(__NetBSD__)
#include <sys/cdefs.h>
#include <netinet/in.h>
#endif

View file

@ -63,7 +63,6 @@
#endif
#if defined(__NetBSD__)
#include <sys/cdefs.h>
#include <netinet/in.h>
#endif
@ -958,4 +957,3 @@ bail1:
return 0;
}