Differences From Artifact [59991e1a1b]:
- File
src/socket_helpers.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: 2175) [annotate] [blame] [check-ins using]
To Artifact [698be452dd]:
- File src/socket_helpers.h — part of check-in [d1e559b643] at 2014-05-29 21:27:34 on branch trunk — Work around __block being used by old glibc (user: js, size: 2266) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 | * the packaging of this file. * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include <unistd.h> #ifdef HAVE_ARPA_INET_H # include <arpa/inet.h> #endif #ifdef HAVE_NETDB_H | > > > > > | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | * the packaging of this file. * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ /* Work around __block being used by glibc */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif #include <unistd.h> #ifdef HAVE_ARPA_INET_H # include <arpa/inet.h> #endif #ifdef HAVE_NETDB_H |
︙ | ︙ |