2 A <sys/socket.h> for systems lacking it.
14 BUILT_SOURCES += $(SYS_SOCKET_H)
15 EXTRA_DIST += socket_.h
17 # We need the following in order to create <sys/socket.h> when the system
18 # doesn't have one that works with the given compiler.
19 sys/socket.h: socket_.h
20 test -d sys || mkdir sys
21 cp $(srcdir)/socket_.h $@-t
23 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
26 -rmdir sys 2>/dev/null
29 #include <sys/socket.h>