1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/archivers/rpm4/files/patch-system.h
Johan van Selst 801590780d Shortly after the initial release, a new tarball was uploaded which
includes a small fix that was duplicated already in the FreeBSD port.
- Update checksum and remove patch introduced with the original release

No functional changes.
2012-12-22 12:45:23 +00:00

17 lines
421 B
C

--- 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