1
0
mirror of https://github.com/irssi/irssi.git synced 2025-01-03 14:56:47 -05:00

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:
Timo Sirainen 2001-03-18 21:39:24 +00:00 committed by cras
parent 6e57a9e94e
commit 4a967a5d5c
4 changed files with 6 additions and 10 deletions

View File

@ -78,7 +78,6 @@ noinst_HEADERS = \
module.h \
modules.h \
net-disconnect.h \
net-internal.h \
net-nonblock.h \
net-sendbuffer.h \
network.h \

View File

@ -1,8 +0,0 @@
#ifdef HAVE_SOCKS_H
#include <socks.h>
#endif
#ifndef WIN32
# include <netdb.h>
# include <arpa/inet.h>
#endif

View File

@ -20,7 +20,6 @@
#include "module.h"
#include "network.h"
#include "net-internal.h"
#ifndef INADDR_NONE
# define INADDR_NONE INADDR_BROADCAST

View File

@ -1,10 +1,16 @@
#ifndef __NETWORK_H
#define __NETWORK_H
#ifdef HAVE_SOCKS_H
#include <socks.h>
#endif
#include <sys/types.h>
#ifndef WIN32
# include <sys/socket.h>
# include <netinet/in.h>
# include <netdb.h>
# include <arpa/inet.h>
#endif
#ifndef AF_INET6