Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
sc
sc-fix-missing-includes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sc-fix-missing-includes.patch of Package sc
Index: sc-7.16/abbrev.c =================================================================== --- sc-7.16.orig/abbrev.c +++ sc-7.16/abbrev.c @@ -19,6 +19,8 @@ #include <stdio.h> #include <stdlib.h> #include <ctype.h> +#include <unistd.h> +#include <curses.h> #include "sc.h" static struct abbrev *abbr_base; Index: sc-7.16/color.c =================================================================== --- sc-7.16.orig/color.c +++ sc-7.16/color.c @@ -17,6 +17,7 @@ #endif #endif +#include <unistd.h> #include <curses.h> #include <ctype.h> #include "sc.h" Index: sc-7.16/frame.c =================================================================== --- sc-7.16.orig/frame.c +++ sc-7.16/frame.c @@ -18,6 +18,9 @@ #include <stdio.h> #include <ctype.h> +#include <stdlib.h> +#include <curses.h> +#include <unistd.h> #include "sc.h" static struct frange *frame_base; Index: sc-7.16/lex.c =================================================================== --- sc-7.16.orig/lex.c +++ sc-7.16/lex.c @@ -34,6 +34,8 @@ #include <signal.h> #include <setjmp.h> #include <ctype.h> +#include <unistd.h> +#include <math.h> #include "sc.h" #ifdef NONOTIMEOUT Index: sc-7.16/range.c =================================================================== --- sc-7.16.orig/range.c +++ sc-7.16/range.c @@ -18,6 +18,8 @@ #include <stdio.h> #include <ctype.h> +#include <unistd.h> +#include <curses.h> #include "sc.h" static struct range *rng_base; Index: sc-7.16/sort.c =================================================================== --- sc-7.16.orig/sort.c +++ sc-7.16/sort.c @@ -19,6 +19,8 @@ #include <stdio.h> #include <ctype.h> #include <stdlib.h> +#include <unistd.h> +#include <curses.h> #include "sc.h" int compare(const void *row1, const void *row2); Index: sc-7.16/vi.c =================================================================== --- sc-7.16.orig/vi.c +++ sc-7.16/vi.c @@ -17,6 +17,8 @@ #include <curses.h> #include <ctype.h> #include <stdlib.h> +#include <unistd.h> +#include <sys/wait.h> #include "sc.h" #if defined(REGCOMP) Index: sc-7.16/vmtbl.c =================================================================== --- sc-7.16.orig/vmtbl.c +++ sc-7.16/vmtbl.c @@ -16,6 +16,7 @@ # include <curses.h> #endif /* PSC */ +#include <unistd.h> #include "sc.h" /* Index: sc-7.16/help.c =================================================================== --- sc-7.16.orig/help.c +++ sc-7.16/help.c @@ -7,6 +7,7 @@ #ifdef QREF #include <stdio.h> +#include <stdlib.h> char *header = " Quick Reference"; char *revision = "$Revision: 7.16 $"; #else
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