summaryrefslogtreecommitdiff
path: root/archivers/rpm4/files/patch-system.h
blob: b93a87a1a0c4d847165cee91e47ba08a05fb18a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- system.h.orig	2017-10-05 10:04:57 UTC
+++ system.h
@@ -43,6 +43,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