Import <bsd/stdlib.h> if not on a BSD system. Still needs LIBS=-lbsd.

This commit is contained in:
Jonathan Schleifer 2011-03-29 03:51:11 +02:00
parent 5b16eaa1f0
commit edb38970db

View file

@ -27,7 +27,12 @@
* RC4 is a registered trademark of RSA Laboratories. * RC4 is a registered trademark of RSA Laboratories.
*/ */
#include <stdlib.h> #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
defined(__APPLE__)
# include <stdlib.h>
#else
# include <bsd/stdlib.h>
#endif
#include <stdint.h> #include <stdint.h>
/* /*