Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
tcpd
tcp_wrappers_7.6-prototypes.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tcp_wrappers_7.6-prototypes.diff of Package tcpd
--- clean_exit.c +++ clean_exit.c @@ -13,6 +13,8 @@ #endif #include <stdio.h> +#include <stdlib.h> +#include <unistd.h> extern void exit(); --- hosts_access.c +++ hosts_access.c @@ -31,6 +31,8 @@ #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> +#include <unistd.h> +#include <netdb.h> #include <syslog.h> #include <ctype.h> #include <errno.h> --- inetcf.c +++ inetcf.c @@ -88,7 +88,7 @@ } else { for (i = 0; inet_files[i] && (fp = fopen(inet_files[i], "r")) == 0; i++) /* void */ ; - if (fp == 0) { + if (!fp) { fprintf(stderr, "Cannot find your inetd.conf or tlid.conf file.\n"); fprintf(stderr, "Please specify its location.\n"); exit(1); --- ip6utils.c +++ ip6utils.c @@ -2,6 +2,7 @@ #include <sys/socket.h> #include <arpa/inet.h> #include <stdio.h> +#include <string.h> #include <errno.h> #include "ip6utils.h" --- options.c +++ options.c @@ -41,6 +41,8 @@ #include <netinet/in.h> #include <netdb.h> #include <stdio.h> +#include <unistd.h> +#include <stdlib.h> #include <syslog.h> #include <pwd.h> #include <grp.h> --- percent_x.c +++ percent_x.c @@ -18,6 +18,8 @@ #include <stdio.h> #include <syslog.h> +#include <stdlib.h> +#include <unistd.h> #include <string.h> extern void exit(); --- shell_cmd.c +++ shell_cmd.c @@ -15,9 +15,13 @@ /* System libraries. */ #include <sys/types.h> +#include <sys/wait.h> #include <sys/param.h> #include <signal.h> #include <stdio.h> +#include <stdlib.h> +#include <fcntl.h> +#include <unistd.h> #include <syslog.h> #include <string.h> --- update.c +++ update.c @@ -21,6 +21,7 @@ #include <stdio.h> #include <syslog.h> +#include <unistd.h> #include <string.h> /* Local stuff. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor