You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-shells/scsh/files/0.6.7-Missing-includes.patch

23 lines
583 B

diff -r 3dd93fcbca44 c/unix/dynamo.c
--- a/c/unix/dynamo.c Wed Aug 11 17:02:46 2010 +0200
+++ b/c/unix/dynamo.c Wed Aug 11 17:04:34 2010 +0200
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
#include "sysdep.h"
#include "scheme48.h"
diff -r 3dd93fcbca44 c/unix/socket.c
--- a/c/unix/socket.c Wed Aug 11 17:02:46 2010 +0200
+++ b/c/unix/socket.c Wed Aug 11 17:04:34 2010 +0200
@@ -8,6 +8,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/param.h>
+#include <malloc.h>
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>