From ca3d98d08bfe2c5c8a0f1a0d17160800f85d84b7 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sat, 25 Oct 2003 04:13:32 +0000 Subject: [PATCH] Put in a work-around for ENOTSUP not being defined on OpenBSD. --- source/libsmb/libsmbclient.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/libsmb/libsmbclient.c b/source/libsmb/libsmbclient.c index 735a3cba7c8..21273ec4319 100644 --- a/source/libsmb/libsmbclient.c +++ b/source/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 -- 2.11.4.GIT