ports/devel/libnfs/patches/patch-include_nfsc_libnfs_h

14 lines
292 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: include/nfsc/libnfs.h
--- include/nfsc/libnfs.h.orig
+++ include/nfsc/libnfs.h
@@ -38,6 +38,9 @@
#ifdef __cplusplus
extern "C" {
#endif
+#if defined(__OpenBSD__)
+#include <sys/time.h> /* gettimeofday */
+#endif
#define LIBNFS_FEATURE_READAHEAD
#define LIBNFS_FEATURE_PAGECACHE