summaryrefslogtreecommitdiff
path: root/security/libident/patches/patch-id__open.c
blob: 9bdb61bdff46cea799687c6e6793679d0bb975b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-id__open.c,v 1.1 2013/12/13 10:46:40 jperkin Exp $

Need sys/file.h for FNDELAY on SunOS.

--- id_open.c.orig	2004-01-18 17:21:28.000000000 +0000
+++ id_open.c
@@ -30,6 +30,9 @@
 # endif
 #endif
 
+#ifdef __sun
+#include <sys/file.h>
+#endif
 
 #define IN_LIBIDENT_SRC
 #include "ident.h"