1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

(trunk libT) fix BSD build issue

This commit is contained in:
Charles Kerr 2010-03-06 19:33:04 +00:00
parent ee4a29d200
commit 3e79f4b3fe

View file

@ -20,12 +20,6 @@
#undef HAVE_POSIX_MEMALIGN /* not supported on OS X 10.5 and lower */
#endif
#if defined(HAVE_POSIX_MEMALIGN) || defined(HAVE_VALLOC)
#if !defined(SYS_DARWIN)
#define _XOPEN_SOURCE 600 /* pick posix_memalign and valloc declarations */
#endif
#endif
#include <assert.h>
#include <ctype.h> /* isalpha, tolower */
#include <errno.h>