openbsd-ports/shells/scsh/patches/patch-c_unix_event_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
332 B
Plaintext

$OpenBSD: patch-c_unix_event_c,v 1.1 2010/05/22 11:13:56 espie Exp $
--- c/unix/event.c.orig Sat May 22 13:10:07 2010
+++ c/unix/event.c Sat May 22 13:10:14 2010
@@ -6,6 +6,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/times.h>