[exim-cvs] Fix uClibc build

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Asunto: [exim-cvs] Fix uClibc build
Gitweb: https://git.exim.org/exim.git/commitdiff/3083c9ca60beb9aacae81d0d108117251da5f276
Commit:     3083c9ca60beb9aacae81d0d108117251da5f276
Parent:     8b67c555ee9cfb7617ca2e94bb1c53eab8b7e39b
Author:     Bernd Kuhls <bernd.kuhls@???>
AuthorDate: Mon Mar 8 13:04:34 2021 +0100
Committer:  Heiko Schlittermann (HS12-RIPE) <hs@???>
CommitDate: Tue Mar 9 14:37:32 2021 +0100


    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 */
---
 src/OS/os.h-Linux | 4 ++++
 1 file changed, 4 insertions(+)


diff --git a/src/OS/os.h-Linux b/src/OS/os.h-Linux
index 2fa1b0b..287e154 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 */