mmm, actually allow HAVE_BIND on all systems and use resolv.h on linux systems

This commit is contained in:
Mike Frysinger 2009-03-06 01:51:34 +00:00
parent e89203975b
commit 9059d5da39
1 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,7 @@
/* conditional includes -- a very messy section which you may have to dink
for your own architecture [and please send diffs...]: */
/* #undef _POSIX_SOURCE */ /* might need this for something? */
/* #define HAVE_BIND */ /* ASSUMPTION -- seems to work everywhere! */
#define HAVE_BIND /* ASSUMPTION -- seems to work everywhere! */
#define HAVE_HELP /* undefine if you dont want the help text */
/* #define ANAL */ /* if you want case-sensitive DNS matching */
@ -46,6 +46,9 @@
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#ifdef LINUX
#include <resolv.h>
#endif
/* have to do this *before* including types.h. xxx: Linux still has it wrong */
#ifdef FD_SETSIZE /* should be in types.h, butcha never know. */