summaryrefslogtreecommitdiff
path: root/sysutils/ntfsprogs/patches/patch-ah
blob: 8cf2e43f0a2baff15933d36212efe060608b1977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ah,v 1.1 2005/03/15 20:24:30 rillig Exp $

NetBSD-1.6.2 does not know about ENOTSUP.

--- include/ntfs/compat.h.orig	Sat Sep  4 12:16:32 2004
+++ include/ntfs/compat.h	Sat Mar 12 10:13:43 2005
@@ -50,5 +50,9 @@ extern int ffs(int i);
 
 #endif /* defined WINDOWS */
 
+#ifndef ENOTSUP
+#define ENOTSUP EINVAL
+#endif
+
 #endif /* defined _NTFS_COMPAT_H */