bork bork bork

This commit is contained in:
William Pitcock 2008-04-01 15:14:08 -05:00
parent 75bb1a639c
commit d56734d6dd
4 changed files with 4 additions and 15 deletions

View file

@ -169,17 +169,4 @@
#define PATRICIA_BITS 32
#endif
#ifdef SOCKADDR_IN_HAS_LEN
#define SET_SS_LEN(x, y) (x).ss_len = (y)
#define GET_SS_LEN(x) x.ss_len
#else
#define SET_SS_LEN(x, y)
#ifdef IPV6
#define GET_SS_LEN(x) x.ss_family == AF_INET ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6)
#else
#define GET_SS_LEN(x) sizeof(struct sockaddr_in)
#endif
#endif
#endif /* INCLUDED_ircd_defs_h */

View file

@ -23,7 +23,7 @@
*
*/
#include "ratbox_lib.h"
#include "config.h" /* Gotta pull in the autoconf stuff */
/* AIX requires this to be the first thing in the file. */

View file

@ -32,7 +32,7 @@ moduledir = @moduledir@
# Change this later! -- adrian
automoduledir = @moduledir@/autoload
INCLUDES = -I../include -I../libcharybdis -I../adns $(SSL_INCLUDES)
INCLUDES = -I../include -I../libcharybdis -I../libratbox/include $(SSL_INCLUDES)
CPPFLAGS = ${INCLUDES} @CPPFLAGS@
CORE_SRCS = \

View file

@ -73,6 +73,8 @@
#include "patchlevel.h"
#include "serno.h"
#include "ratbox_lib.h"
/*
* Try and find the correct name to use with getrlimit() for setting the max.
* number of files allowed to be open by this process.