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

$OpenBSD: patch-scsh_sleep1_c,v 1.1 2010/05/22 11:13:56 espie Exp $
--- scsh/sleep1.c.orig Sat May 22 13:09:13 2010
+++ scsh/sleep1.c Sat May 22 13:09:30 2010
@@ -10,6 +10,7 @@
#endif
#include <unistd.h>
#include <time.h>
+#include <string.h>
#include "../c/scheme48.h"