summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-10-25 04:13:32 +0000
committerRichard Sharpe <sharpe@samba.org>2003-10-25 04:13:32 +0000
commit15b14fc8574b67e0661524e1d26a2f1561df0c39 (patch)
tree42a7f6cea2d12ffa14618ac0d07b0d41ea8c9858 /source3
parent966a448f93a8326aeed25bfc0cd9b98a36835dea (diff)
downloadsamba-15b14fc8574b67e0661524e1d26a2f1561df0c39.tar.gz
samba-15b14fc8574b67e0661524e1d26a2f1561df0c39.tar.bz2
samba-15b14fc8574b67e0661524e1d26a2f1561df0c39.zip
Put in a work-around for ENOTSUP not being defined on OpenBSD.
(This used to be commit ca3d98d08bfe2c5c8a0f1a0d17160800f85d84b7)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/libsmbclient.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index 735a3cba7c..21273ec431 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -40,7 +40,10 @@
#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