summaryrefslogtreecommitdiffstats
path: root/archivers/rpm4/files/patch-system.h
blob: 087025591e2a4e00b8adb4f287429662f672320a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- system.h.orig	2011-06-10 15:27:05.000000000 +0200
+++ system.h	2011-06-10 15:27:09.000000000 +0200
@@ -39,6 +39,13 @@ char * stpncpy(char * dest, const char *
 #define	getenv(_s)	__secure_getenv(_s)
 #endif
 
+/* Add includes for missing libc prototypes */
+#include <ctype.h>
+#include <string.h>
+#include <libgen.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+
 #ifdef HAVE_FCNTL_H
 #include <fcntl.h>
 #else
OpenPOWER on IntegriCloud