diff options
-rw-r--r-- | source3/libsmb/libsmbclient.c | 5 |
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 |