aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opensmtpd-extras/0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch
blob: 2adcb7dd42604740a6d82e1e69662db46d8a33b6 (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
25
26
27
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