2 A <sys/socket.h> for systems lacking it.
15 BUILT_SOURCES += $(SYS_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 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22 cat $(srcdir)/socket_.h; \
25 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
26 MOSTLYCLEANDIRS += sys
29 #include <sys/types.h>
30 #include <sys/socket.h>