File:  [cvs.NetBSD.org] / pkgsrc / editors / ne / patches / Attic / patch-sysunix.c
Revision 1.1: download - view: text, annotated - select for diffs
Thu Oct 24 09:35:10 2013 UTC (11 years, 1 month ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, HEAD
Fix build on SunOS.  Patch from Sebastian Wiedenroth.

$NetBSD: patch-sysunix.c,v 1.1 2013/10/24 09:35:10 jperkin Exp $

--- sysunix.c.orig	2003-10-01 09:57:29.000000000 +0000
+++ sysunix.c
@@ -21,6 +21,10 @@ its own modules. */
 #include <fcntl.h>
 #include <dirent.h>
             
+#if defined(__sun)
+# include <sys/filio.h>
+#endif
+
 #include "ehdr.h"
 #include "unixhdr.h"
 #include "scomhdr.h"

CVSweb <webmaster@jp.NetBSD.org>