summaryrefslogtreecommitdiff
path: root/user/postfix/linux-6.patch
blob: 19e73dc34b8e6f58718ceab53da0526a33b5ee41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/makedefs	2022-01-23 21:53:41.000000000 +0100
+++ b/makedefs	2022-09-07 19:07:02.000000000 +0200
@@ -627,7 +627,8 @@
 		: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
 		: ${PLUGIN_LD="${CC-gcc} -shared"}
 		;;
- Linux.[345].*)	SYSTYPE=LINUX$RELEASE_MAJOR
+    Linux.[3456].*)
+		SYSTYPE=LINUX$RELEASE_MAJOR
 		case "$CCARGS" in
 		 *-DNO_DB*) ;;
 		 *-DHAS_DB*) ;;
--- a/src/util/sys_defs.h	2021-12-05 19:59:27.000000000 +0100
+++ b/src/util/sys_defs.h	2022-09-07 19:09:09.000000000 +0200
@@ -751,7 +751,8 @@
  /*
   * 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