pkgsrc/devel/libstatgrab/patches/patch-src_libstatgrab_tools.h
2017-07-05 19:43:52 +00:00

16 lines
368 B
C

$NetBSD: patch-src_libstatgrab_tools.h,v 1.1 2017/07/05 19:43:53 wiedi Exp $
Add include for LOCK_SH
--- src/libstatgrab/tools.h.orig 2014-06-19 11:41:10.000000000 +0000
+++ src/libstatgrab/tools.h
@@ -36,6 +36,10 @@
# include <sys/stat.h>
#endif
+#if defined(__sun)
+#include <sys/file.h>
+#endif
+
#include <stdio.h>
#ifdef STDC_HEADERS
# include <assert.h>