File procinfo-termcap.diff of Package procinfo

Index: procinfo-18/procinfo.c
===================================================================
--- procinfo-18.orig/procinfo.c
+++ procinfo-18/procinfo.c
@@ -28,9 +28,9 @@ static char *rcsid __attribute__ ((unuse
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <termios.h>
-#include <termcap.h>
+#include <ncurses/termcap.h>
 #include <ctype.h>
 #include <time.h>
 #include <unistd.h>
 #include <sys/param.h>	/* for HZ -- should be in <time.h> ? */
Index: procinfo-18/routines.c
===================================================================
--- procinfo-18.orig/routines.c
+++ procinfo-18/routines.c
@@ -24,9 +24,9 @@ static char *rcsid __attribute__ ((unuse
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <termios.h>
-#include <termcap.h>
+#include <ncurses/termcap.h>
 #include <time.h>
 #include <unistd.h>
 #include <sys/ioctl.h>
 #include <sys/param.h>	/* for HZ -- should be in <time.h> ? */
openSUSE Build Service is sponsored by