NetBSD requires net/if.h for the IFF_* defines (as well as OpenBSD) !

This commit is contained in:
Brian Somers 1999-09-20 07:18:50 +00:00
parent bd8a15ce8a
commit a77cab77c5

View File

@ -27,7 +27,7 @@
*/
#include <sys/param.h>
#ifdef __OpenBSD__
#ifndef __FreeBSD__
#include <sys/socket.h> /* For IFF_ defines */
#include <net/if.h> /* For IFF_ defines */
#endif