Differences From Artifact [bc099d612b]:
- File
src/socket.h
— part of check-in
[4de1f2a67a]
at
2014-03-05 00:31:49
on branch trunk
— Move netinet/in.h include to socket.h
This is required as OFKernelEventObserver uses struct sockaddr_in as an
instance variable in case there is no pipe(). (user: js, size: 1370) [annotate] [blame] [check-ins using]
To Artifact [57c57cf50c]:
- File src/socket.h — part of check-in [06d2de4571] at 2014-12-13 16:52:58 on branch trunk — Use CLOEXEC for files and sockets (user: js, size: 1390) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #import "objfw-defs.h" #ifndef OF_HAVE_SOCKETS # error No sockets available! #endif #include <stdbool.h> #ifdef OF_HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif #ifdef OF_HAVE_NETINET_IN_H # include <netinet/in.h> #endif | > > | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #import "objfw-defs.h" #ifndef OF_HAVE_SOCKETS # error No sockets available! #endif #include <stdbool.h> #include <fcntl.h> #ifdef OF_HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif #ifdef OF_HAVE_NETINET_IN_H # include <netinet/in.h> #endif |
︙ | ︙ |