##// END OF EJS Templates
portability: fix build on Solaris-derived systemd...
Joerg Sonnenberger -
r52550:e10b8388 stable
parent child Browse files
Show More
@@ -7,6 +7,11 b''
7 7 * GNU General Public License version 2 or any later version.
8 8 */
9 9
10 #if defined(__sun) && !defined(_XOPEN_SOURCE)
11 /* msg_control is used */
12 #define _XOPEN_SOURCE 600
13 #endif
14
10 15 #include <arpa/inet.h> /* for ntohl(), htonl() */
11 16 #include <assert.h>
12 17 #include <ctype.h>
@@ -26,6 +31,10 b''
26 31 #include "procutil.h"
27 32 #include "util.h"
28 33
34 #ifndef O_DIRECTORY
35 #define O_DIRECTORY O_RDONLY
36 #endif
37
29 38 enum {
30 39 CAP_GETENCODING = 0x0001,
31 40 CAP_RUNCOMMAND = 0x0002,
General Comments 0
You need to be logged in to leave comments. Login now