summaryrefslogtreecommitdiff
path: root/src/OS
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2021-03-08 13:04:34 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-03-09 14:37:32 +0100
commit3083c9ca60beb9aacae81d0d108117251da5f276 (patch)
treec1d0ea70191f42d4e7ee4b0aca4b87535e2d6d68 /src/OS
parent8b67c555ee9cfb7617ca2e94bb1c53eab8b7e39b (diff)
downloadexim4-3083c9ca60beb9aacae81d0d108117251da5f276.tar.gz
Fix uClibc build
structs.h:757:18: error: ‘NS_MAXMSG’ undeclared here (not in a function); did you mean ‘N_MASC’? uschar answer[NS_MAXMSG]; /* the answer itself */
Diffstat (limited to 'src/OS')
-rw-r--r--src/OS/os.h-Linux4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/OS/os.h-Linux b/src/OS/os.h-Linux
index 2fa1b0b82..287e15465 100644
--- a/src/OS/os.h-Linux
+++ b/src/OS/os.h-Linux
@@ -94,5 +94,9 @@ then change the 0 to 1 in the next block. */
/* inotify(7) etc syscalls */
#define EXIM_HAVE_INOTIFY
+/* Needed for uClibc */
+#ifndef NS_MAXMSG
+# define NS_MAXMSG 65535
+#endif
/* End */