$OpenBSD: patch-lib_fsplib_fsplib_c,v 1.3 2008/12/01 16:09:01 ajacoutot Exp $
--- lib/fsplib/fsplib.c.orig	Mon Dec  1 13:51:47 2008
+++ lib/fsplib/fsplib.c	Mon Dec  1 13:51:55 2008
@@ -32,6 +32,10 @@ use of this software.
 #include "fsplib.h"
 #include "lock.h"
 
+#ifndef ENOTSUP
+# define ENOTSUP EINVAL
+#endif
+
 /* ************ Internal functions **************** */ 
 
 /* builds filename in packet output buffer, appends password if needed */
