mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-01 07:20:13 +00:00
BSD portability fixes
This commit is contained in:
parent
4ac83a5f49
commit
a4815eb370
2
Makefile
2
Makefile
@ -15,7 +15,7 @@ mkpasswd_OBJECTS := mkpasswd.o utils.o
|
||||
# FreeBSD
|
||||
#whois_LDADD += -liconv
|
||||
#LIBS += -L/usr/local/lib -lintl
|
||||
#INCLUDES += -I/usr/local/include
|
||||
#DEFS += -I/usr/local/include
|
||||
|
||||
# OS/2 EMX
|
||||
#whois_LDADD += -lsocket
|
||||
|
||||
4
config.h
4
config.h
@ -13,6 +13,10 @@
|
||||
|
||||
|
||||
/* autoconf in cpp macros */
|
||||
#if defined __NetBSD__ || __OpenBSD__
|
||||
# include <sys/param.h>
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
# define ENABLE_NLS
|
||||
#endif
|
||||
|
||||
@ -32,6 +32,7 @@
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
#ifdef HAVE_XCRYPT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user