123456789101112131415 |
- --- tcp_wrappers_7.6.orig/fix_options.c 1997-04-08 02:29:19.000000000 +0200
- +++ tcp_wrappers_7.6/fix_options.c 2009-06-05 18:45:03.000000000 +0200
- @@ -35,7 +35,12 @@ struct request_info *request;
- #ifdef IP_OPTIONS
- unsigned char optbuf[BUFFER_SIZE / 3], *cp;
- char lbuf[BUFFER_SIZE], *lp;
- +#if !defined(__GLIBC__)
- int optsize = sizeof(optbuf), ipproto;
- +#else /* __GLIBC__ */
- + size_t optsize = sizeof(optbuf);
- + int ipproto;
- +#endif /* __GLIBC__ */
- struct protoent *ip;
- int fd = request->fd;
- unsigned int opt;
|