Issue #4204: Fixed module build errors on FreeBSD 4.

This commit is contained in:
Martin v. Löwis 2008-11-04 20:40:09 +00:00
parent 81e92e582e
commit bb86d83134
6 changed files with 38 additions and 26 deletions

View file

@ -20,7 +20,9 @@
# define SEM_VALUE_MAX LONG_MAX
#else
# include <fcntl.h> /* O_CREAT and O_EXCL */
# include <netinet/in.h>
# include <sys/socket.h>
# include <sys/uio.h>
# include <arpa/inet.h> /* htonl() and ntohl() */
# if HAVE_SEM_OPEN
# include <semaphore.h>