neozeed ircu2.9.32-linux-hacks.diff
This commit is contained in:
@@ -56,9 +56,6 @@ void free();
|
||||
#include MALLOCH
|
||||
#endif
|
||||
|
||||
extern int matches PROTO((char *, char *));
|
||||
extern int mycmp PROTO((const char *, const char *));
|
||||
extern int myncmp PROTO((const char *, const char *, int));
|
||||
#ifdef NEED_STRTOK
|
||||
extern char *strtok PROTO((char *, char *));
|
||||
#endif
|
||||
@@ -67,6 +64,10 @@ extern char *strtoken PROTO((char **, char *, char *));
|
||||
#endif
|
||||
#ifdef NEED_INET_ADDR
|
||||
extern unsigned long inet_addr PROTO((char *));
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#if defined(NEED_INET_NTOA) || defined(NEED_INET_NETOF)
|
||||
|
||||
Reference in New Issue
Block a user