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:
parent
6e57a9e94e
commit
4a967a5d5c
@ -78,7 +78,6 @@ noinst_HEADERS = \
|
||||
module.h \
|
||||
modules.h \
|
||||
net-disconnect.h \
|
||||
net-internal.h \
|
||||
net-nonblock.h \
|
||||
net-sendbuffer.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 "network.h"
|
||||
#include "net-internal.h"
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
# define INADDR_NONE INADDR_BROADCAST
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user