aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opensmtpd-extras/0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/opensmtpd-extras/0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch')
-rw-r--r--testing/opensmtpd-extras/0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/opensmtpd-extras/0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch b/testing/opensmtpd-extras/0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch
new file mode 100644
index 0000000000..2adcb7dd42
--- /dev/null
+++ b/testing/opensmtpd-extras/0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch
@@ -0,0 +1,28 @@
+From 77b38f10b8e45efb4066f199a5123ead35d3df75 Mon Sep 17 00:00:00 2001
+From: Jonas Maurus <jonas-github@maurus.net>
+Date: Wed, 2 Nov 2016 11:51:29 +0100
+Subject: [PATCH] uint8_t is defined in stdint.h, at least on Linux
+
+Signed-off-by: Jonas Maurus <jonas-github@maurus.net>
+
+Patch-Source: https://github.com/OpenSMTPD/OpenSMTPD-extras/commit/77b38f10b8e45efb4066f199a5123ead35d3df75
+---
+ api/rfc2822.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/api/rfc2822.h b/api/rfc2822.h
+index 30b878b..0c35830 100644
+--- a/api/rfc2822.h
++++ b/api/rfc2822.h
+@@ -19,6 +19,8 @@
+ #ifndef _RFC2822_H_
+ #define _RFC2822_H_
+
++#include <stdint.h>
++
+ #define RFC2822_MAX_LINE_SIZE 4096
+
+ struct rfc2822_line {
+--
+2.18.0
+