Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
ucspi-tcp
fix_includes_prototypes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_includes_prototypes.patch of Package ucspi-tcp
Index: chkshsgr.c =================================================================== --- chkshsgr.c.orig +++ chkshsgr.c @@ -1,4 +1,7 @@ #include "exit.h" +#include <sys/types.h> +#include <unistd.h> +#include <grp.h> main() { Index: dns_rcrw.c =================================================================== --- dns_rcrw.c.orig +++ dns_rcrw.c @@ -4,6 +4,7 @@ #include "str.h" #include "openreadclose.h" #include "dns.h" +#include <unistd.h> static stralloc data = {0}; Index: remoteinfo.c =================================================================== --- remoteinfo.c.orig +++ remoteinfo.c @@ -5,6 +5,7 @@ #include "iopause.h" #include "timeoutconn.h" #include "remoteinfo.h" +#include <unistd.h> static struct taia now; static struct taia deadline; Index: dns_transmit.c =================================================================== --- dns_transmit.c.orig +++ dns_transmit.c @@ -2,9 +2,11 @@ #include "alloc.h" #include "error.h" #include "byte.h" -#include "readwrite.h" +#include <unistd.h> #include "uint16.h" #include "dns.h" +#include <sys/types.h> +#include <sys/socket.h> static int serverwantstcp(char *buf,unsigned int len) { Index: auto-str.c =================================================================== --- auto-str.c.orig +++ auto-str.c @@ -1,5 +1,5 @@ #include "buffer.h" -#include "readwrite.h" +#include <unistd.h> #include "exit.h" char bspace[256]; Index: buffer_0.c =================================================================== --- buffer_0.c.orig +++ buffer_0.c @@ -1,4 +1,4 @@ -#include "readwrite.h" +#include <unistd.h> #include "buffer.h" int buffer_0_read(fd,buf,len) int fd; char *buf; int len; Index: buffer_1.c =================================================================== --- buffer_1.c.orig +++ buffer_1.c @@ -1,4 +1,4 @@ -#include "readwrite.h" +#include <unistd.h> #include "buffer.h" char buffer_1_space[BUFFER_OUTSIZE]; Index: buffer_2.c =================================================================== --- buffer_2.c.orig +++ buffer_2.c @@ -1,4 +1,4 @@ -#include "readwrite.h" +#include <unistd.h> #include "buffer.h" char buffer_2_space[256]; Index: cdb.c =================================================================== --- cdb.c.orig +++ cdb.c @@ -3,7 +3,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> -#include "readwrite.h" +#include <unistd.h> #include "error.h" #include "seek.h" #include "byte.h" Index: cdb_make.c =================================================================== --- cdb_make.c.orig +++ cdb_make.c @@ -1,6 +1,6 @@ /* Public domain. */ -#include "readwrite.h" +#include <unistd.h> #include "seek.h" #include "error.h" #include "alloc.h" Index: fixcrio.c =================================================================== --- fixcrio.c.orig +++ fixcrio.c @@ -2,10 +2,11 @@ #include "buffer.h" #include "strerr.h" #include "byte.h" -#include "readwrite.h" +#include <unistd.h> #include "exit.h" #include "iopause.h" #include "pathexec.h" +#include "fd.h" #define FATAL "fixcrio: fatal: " Index: install.c =================================================================== --- install.c.orig +++ install.c @@ -2,8 +2,10 @@ #include "strerr.h" #include "error.h" #include "open.h" -#include "readwrite.h" +#include <unistd.h> #include "exit.h" +#include <sys/stat.h> +#include <sys/types.h> extern void hier(); Index: instcheck.c =================================================================== --- instcheck.c.orig +++ instcheck.c @@ -2,7 +2,7 @@ #include <sys/stat.h> #include "strerr.h" #include "error.h" -#include "readwrite.h" +#include <unistd.h> #include "exit.h" extern void hier(); Index: mconnect-io.c =================================================================== --- mconnect-io.c.orig +++ mconnect-io.c @@ -3,8 +3,10 @@ #include "fork.h" #include "buffer.h" #include "strerr.h" -#include "readwrite.h" +#include <unistd.h> #include "exit.h" +#include <sys/types.h> +#include <signal.h> char outbuf[512]; buffer bout; Index: rblsmtpd.c =================================================================== --- rblsmtpd.c.orig +++ rblsmtpd.c @@ -6,7 +6,7 @@ #include "exit.h" #include "sig.h" #include "buffer.h" -#include "readwrite.h" +#include <unistd.h> #include "sgetopt.h" #include "strerr.h" #include "stralloc.h" Index: readclose.c =================================================================== --- readclose.c.orig +++ readclose.c @@ -1,4 +1,4 @@ -#include "readwrite.h" +#include <unistd.h> #include "error.h" #include "readclose.h" Index: recordio.c =================================================================== --- recordio.c.orig +++ recordio.c @@ -3,11 +3,12 @@ #include "strerr.h" #include "str.h" #include "byte.h" -#include "readwrite.h" +#include <unistd.h> #include "exit.h" #include "fmt.h" #include "iopause.h" #include "pathexec.h" +#include "fd.h" #define FATAL "recordio: fatal: " Index: socket_conn.c =================================================================== --- socket_conn.c.orig +++ socket_conn.c @@ -2,7 +2,7 @@ #include <sys/param.h> #include <sys/socket.h> #include <netinet/in.h> -#include "readwrite.h" +#include <unistd.h> #include "byte.h" #include "socket.h" Index: tcpserver.c =================================================================== --- tcpserver.c.orig +++ tcpserver.c @@ -21,7 +21,7 @@ #include "prot.h" #include "open.h" #include "wait.h" -#include "readwrite.h" +#include <unistd.h> #include "stralloc.h" #include "alloc.h" #include "buffer.h" Index: prot.c =================================================================== --- prot.c.orig +++ prot.c @@ -1,5 +1,8 @@ #include "hasshsgr.h" #include "prot.h" +#include <sys/types.h> +#include <unistd.h> +#include <grp.h> int prot_gid(int gid) { Index: tcprules.c =================================================================== --- tcprules.c.orig +++ tcprules.c @@ -6,6 +6,9 @@ #include "fmt.h" #include "byte.h" #include "cdb_make.h" +#include <unistd.h> +#include <stdio.h> +#include "open.h" #define FATAL "tcprules: fatal: " Index: fd_copy.c =================================================================== --- fd_copy.c.orig +++ fd_copy.c @@ -1,5 +1,7 @@ #include <fcntl.h> #include "fd.h" +#include <unistd.h> + int fd_copy(int to,int from) { Index: fd_move.c =================================================================== --- fd_move.c.orig +++ fd_move.c @@ -1,4 +1,6 @@ #include "fd.h" +#include <unistd.h> + int fd_move(int to,int from) { Index: tcprulescheck.c =================================================================== --- tcprulescheck.c.orig +++ tcprulescheck.c @@ -3,6 +3,9 @@ #include "strerr.h" #include "env.h" #include "rules.h" +#include <unistd.h> +#include "open.h" + void found(char *data,unsigned int datalen) { Index: dns_random.c =================================================================== --- dns_random.c.orig +++ dns_random.c @@ -1,6 +1,9 @@ #include "dns.h" #include "taia.h" #include "uint32.h" +#include <sys/types.h> +#include <unistd.h> + static uint32 seed[32]; static uint32 in[12]; Index: socket_tcp.c =================================================================== --- socket_tcp.c.orig +++ socket_tcp.c @@ -4,6 +4,7 @@ #include <netinet/in.h> #include "ndelay.h" #include "socket.h" +#include <unistd.h> int socket_tcp(void) { Index: socket_udp.c =================================================================== --- socket_udp.c.orig +++ socket_udp.c @@ -4,6 +4,7 @@ #include <netinet/in.h> #include "ndelay.h" #include "socket.h" +#include <unistd.h> int socket_udp(void) { Index: seek_set.c =================================================================== --- seek_set.c.orig +++ seek_set.c @@ -1,5 +1,6 @@ #include <sys/types.h> #include "seek.h" +#include <unistd.h> #define SET 0 /* sigh */ Index: pathexec_run.c =================================================================== --- pathexec_run.c.orig +++ pathexec_run.c @@ -3,6 +3,7 @@ #include "str.h" #include "env.h" #include "pathexec.h" +#include <unistd.h> static stralloc tmp;
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