2013-09-26 17:14:40 +02:00

17 lines
439 B
Plaintext

$NetBSD: patch-do,v 1.3 2009/12/10 20:35:58 abs Exp $
--- lib/libxview/notify/sys_read.c.orig 1993-06-29 05:18:01.000000000 +0000
+++ lib/libxview/notify/sys_read.c
@@ -15,7 +15,11 @@ static char sccsid[] = "@(#)sys_read
*/
#ifndef SVR4
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
#include <syscall.h>
+#else
+#include <sys/syscall.h>
+#endif
#else SVR4
#include <sys/syscall.h>
#endif SVR4