From 15b14fc8574b67e0661524e1d26a2f1561df0c39 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sat, 25 Oct 2003 04:13:32 +0000 Subject: Put in a work-around for ENOTSUP not being defined on OpenBSD. (This used to be commit ca3d98d08bfe2c5c8a0f1a0d17160800f85d84b7) --- source3/libsmb/libsmbclient.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit