Merge pull request #14 from tehnick/fix-build-on-kfreebsd-any

Fix build in Debian GNU/kFreeBSD.
This commit is contained in:
Jan Vidar Krey 2012-10-14 15:19:21 -07:00
commit 82caa6b81f
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@
#include <sys/select.h> #include <sys/select.h>
#endif #endif
#if defined(BSD_LIKE) || defined(__sun__) #if ( defined(BSD_LIKE) && !defined(__FreeBSD_kernel__) ) || defined(__sun__)
#undef HAVE_STRNDUP #undef HAVE_STRNDUP
#undef HAVE_MEMMEM #undef HAVE_MEMMEM
#endif #endif