mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-18 14:31:18 +02:00
17 lines
373 B
C
17 lines
373 B
C
--- 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
|