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