summaryrefslogtreecommitdiff
path: root/modules/arpa_inet
blob: 6e44f1474c923861dabbb3e468bd7420c76207e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description:
A <arpa/inet.h> for systems lacking it (e.g., Mingw).

Files:
m4/arpa_inet_h.m4

Depends-on:
sys_socket

configure.ac:
gl_HEADER_ARPA_INET

Makefile.am:
BUILT_SOURCES += $(ARPA_INET_H)

# We need the following in order to create <arpa/inet.h> when the system
# doesn't have one.
arpa/inet.h:
	test -d arpa || mkdir arpa
	rm -f $@-t $@
	echo '#include <sys/socket.h>' >$@-t
	chmod a-w $@-t
	mv $@-t $@
MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
MOSTLYCLEANDIRS += arpa

Include:
#include <arpa/inet.h>

License:
LGPL

Maintainer:
Simon Josefsson