$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 */
 
