Restore svn r306772 that was overwritten by netmap import at svn r307394

#include <sys/selinfo.h> should be here as all drivers that support
netmap need to use this file regardless.
This commit is contained in:
sbruno 2016-10-18 14:48:41 +00:00
parent 2ffc085c63
commit ba8cf84bb3

View File

@ -73,6 +73,7 @@
#endif
#if defined(__FreeBSD__)
#include <sys/selinfo.h>
#define likely(x) __builtin_expect((long)!!(x), 1L)
#define unlikely(x) __builtin_expect((long)!!(x), 0L)