Put in a work-around for ENOTSUP not being defined on OpenBSD.
authorRichard Sharpe <sharpe@samba.org>
Sat, 25 Oct 2003 04:13:32 +0000 (04:13 +0000)
committerRichard Sharpe <sharpe@samba.org>
Sat, 25 Oct 2003 04:13:32 +0000 (04:13 +0000)
(This used to be commit ca3d98d08bfe2c5c8a0f1a0d17160800f85d84b7)

source3/libsmb/libsmbclient.c

index 735a3cba7c8afb8803ccf2ed098b77919d7483ac..21273ec4319fb008efc8a5aed438a3da7d7c7e1e 100644 (file)
 
 #define CREATE_ACCESS_READ      READ_CONTROL_ACCESS
 
-
+/*We should test for this in configure ... */
+#ifndef ENOTSUP
+#define ENOTSUP EOPNOTSUPP
+#endif
 
 /*
  * Functions exported by libsmb_cache.c that we need here