20 +++ rtpp_command.c 2009-03-25 02:52:59.126654989 +0100 |
20 +++ rtpp_command.c 2009-03-25 02:52:59.126654989 +0100 |
21 @@ -72,6 +72,36 @@ |
21 @@ -72,6 +72,36 @@ |
22 static void handle_query(struct cfg *, int, struct sockaddr_storage *, |
22 static void handle_query(struct cfg *, int, struct sockaddr_storage *, |
23 socklen_t, char *, struct rtpp_session *, int); |
23 socklen_t, char *, struct rtpp_session *, int); |
24 |
24 |
25 +#if defined(__sun__) |
25 +#if defined(__sun) && defined(__SVR4) && !defined(GE_SOL11) |
26 +static char |
26 +static char |
27 +*strsep(char **stringp, const char *delim) |
27 +*strsep(char **stringp, const char *delim) |
28 +{ |
28 +{ |
29 + char *s; |
29 + char *s; |
30 + const char *spanp; |
30 + const char *spanp; |