forked from PsychoticNinja/irssi
moved stuff from net-internal.h to network.h. HPUX needed one of the
#includes in there to work. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1409 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6e57a9e94e
commit
4a967a5d5c
@ -78,7 +78,6 @@ noinst_HEADERS = \
|
|||||||
module.h \
|
module.h \
|
||||||
modules.h \
|
modules.h \
|
||||||
net-disconnect.h \
|
net-disconnect.h \
|
||||||
net-internal.h \
|
|
||||||
net-nonblock.h \
|
net-nonblock.h \
|
||||||
net-sendbuffer.h \
|
net-sendbuffer.h \
|
||||||
network.h \
|
network.h \
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
#ifdef HAVE_SOCKS_H
|
|
||||||
#include <socks.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef WIN32
|
|
||||||
# include <netdb.h>
|
|
||||||
# include <arpa/inet.h>
|
|
||||||
#endif
|
|
@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include "module.h"
|
#include "module.h"
|
||||||
#include "network.h"
|
#include "network.h"
|
||||||
#include "net-internal.h"
|
|
||||||
|
|
||||||
#ifndef INADDR_NONE
|
#ifndef INADDR_NONE
|
||||||
# define INADDR_NONE INADDR_BROADCAST
|
# define INADDR_NONE INADDR_BROADCAST
|
||||||
|
@ -1,10 +1,16 @@
|
|||||||
#ifndef __NETWORK_H
|
#ifndef __NETWORK_H
|
||||||
#define __NETWORK_H
|
#define __NETWORK_H
|
||||||
|
|
||||||
|
#ifdef HAVE_SOCKS_H
|
||||||
|
#include <socks.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
# include <sys/socket.h>
|
# include <sys/socket.h>
|
||||||
# include <netinet/in.h>
|
# include <netinet/in.h>
|
||||||
|
# include <netdb.h>
|
||||||
|
# include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AF_INET6
|
#ifndef AF_INET6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user