openbsd-ports/shells/scsh/patches/patch-c_unix_fd-io_c
espie 342e37bdf6 fix compile with gcc4 (no need to #defined socklen_t)
some regression test does not pass (this builds and works with gcc3)
2010-05-22 11:13:56 +00:00

12 lines
372 B
Plaintext

$OpenBSD: patch-c_unix_fd-io_c,v 1.1 2010/05/22 11:13:56 espie Exp $
--- c/unix/fd-io.c.orig Sat May 22 13:09:52 2010
+++ c/unix/fd-io.c Sat May 22 13:10:03 2010
@@ -9,6 +9,7 @@
#include <fcntl.h>
#include <sys/time.h>
#include <errno.h> /* for errno, (POSIX?/ANSI) */
+#include <string.h>
#include "c-mods.h"
#include "scheme48vm.h"
#include "event.h"