Please add sc OBS-URL: https://build.opensuse.org/request/show/80052 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/sc?expand=0&rev=1
116 lines
2.5 KiB
Diff
116 lines
2.5 KiB
Diff
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
|