$NetBSD: patch-do,v 1.2 2006/01/05 18:25:57 joerg Exp $

--- lib/libxview/notify/sys_read.c.orig	Tue Jun 29 07:18:01 1993
+++ lib/libxview/notify/sys_read.c	Thu Dec 20 10:09:16 2001
@@ -15,7 +15,11 @@
  */
 
 #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
