summaryrefslogtreecommitdiff
path: root/filesystems/libntfs/patches/patch-include_ntfs-3g_compat.h
blob: d31ae1cb0ef490ac58d2e5cc3f8c0811f8d9515a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-include_ntfs-3g_compat.h,v 1.1 2014/05/19 12:22:06 adam Exp $

NetBSD-1.6.2 does not know about ENOTSUP.

--- include/ntfs-3g/compat.h.orig	2013-01-13 06:46:35.000000000 +0000
+++ include/ntfs-3g/compat.h
@@ -71,5 +71,9 @@ extern char *strsep(char **stringp, cons
 
 #endif /* defined WINDOWS */
 
+#ifndef ENOTSUP
+#define ENOTSUP EINVAL
+#endif
+
 #endif /* defined _NTFS_COMPAT_H */