forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
postfix: Fix compile against glibc 2.36
This backports a change from postfix 3.8, I do not know exactly why it detects Linux 6 here, but this is needed to fix compilation with glibc 2.36. Signed-off-by: Hauke Mehrtens <[email protected]>
- Loading branch information
1 parent
67e1e78
commit 33786ef
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- a/src/util/sys_defs.h | ||
+++ b/src/util/sys_defs.h | ||
@@ -749,7 +749,8 @@ extern int initgroups(const char *, int) | ||
/* | ||
* LINUX. | ||
*/ | ||
-#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) | ||
+#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) \ | ||
+ || defined(LINUX6) | ||
#define SUPPORTED | ||
#define UINT32_TYPE unsigned int | ||
#define UINT16_TYPE unsigned short |