net_sys.h: Add __FreeBSD_kernel__ to the HAVE_SA_LEN list. Debian

bug entry: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657793

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@625 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2012-01-30 10:40:41 +00:00
parent bd81e60d0e
commit 69bd7690d3

View file

@ -62,7 +62,7 @@
#if defined(__FreeBSD__) || defined(__DragonFly__) || \
defined(__OpenBSD__) || defined(__NetBSD__) || \
defined(__MACOSX__)
defined(__MACOSX__) || defined(__FreeBSD_kernel__)
/* struct sockaddr has unsigned char sa_len as the first member in BSD
* variants and the family member is also an unsigned char instead of an
* unsigned short. This should matter only when PLATFORM_UNIX is defined,