1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/opensmtpd-extras/0001-uint8_t-is-defined-in-stdint.h-at-least-on-Linux.patch

28 lines
716 B
Diff

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