Revision: | 1.7 |
Committed: | Sun May 1 13:54:28 2011 UTC (13 years, 2 months ago) by sf-exg |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | rxvt-unicode-rel-9_29, rxvt-unicode-rel-9_26, rxvt-unicode-rel-9_25, rxvt-unicode-rel-9_22, rxvt-unicode-rel-9_20, rxvt-unicode-rel-9_21, rel-9_14, rel-9_11, rel-9_12, rxvt-unicode-rel-9_19, rxvt-unicode-rel-9_18, rxvt-unicode-rel-9_17, rxvt-unicode-rel-9_16, rxvt-unicode-rel-9_15, rxvt-unicode-rel-9_30, HEAD |
Changes since 1.6: | +6 -0 lines |
Log Message: | Fix compilation on systems that do not provide a definition for PATH_MAX, such as GNU/Hurd. |
# | User | Rev | Content |
---|---|---|---|
1 | pcg | 1.1 | #ifndef RXVT_DAEMON_H |
2 | #define RXVT_DAEMON_H | ||
3 | |||
4 | sf-exg | 1.7 | #include <limits.h> |
5 | |||
6 | #ifndef PATH_MAX | ||
7 | # define PATH_MAX 16384 | ||
8 | #endif | ||
9 | |||
10 | root | 1.5 | #include "rxvtutil.h" |
11 | pcg | 1.2 | |
12 | root | 1.6 | struct rxvt_connection |
13 | { | ||
14 | pcg | 1.1 | int fd; |
15 | |||
16 | pcg | 1.3 | static char *unix_sockname (); |
17 | pcg | 1.1 | |
18 | void send (const char *data, int len); | ||
19 | void send (const char *data); | ||
20 | void send (int data); | ||
21 | |||
22 | pcg | 1.2 | bool recv (auto_str &data, int *len = 0); |
23 | pcg | 1.1 | bool recv (int &data); |
24 | }; | ||
25 | |||
26 | #endif | ||
27 |