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