1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/testing/opensmtpd-extras/0002-wrap-stdint.h-in-autoconf-variables.patch

29 lines
709 B
Diff

From b517268af8b467ed2937bd2ee0b47c07347c89b2 Mon Sep 17 00:00:00 2001
From: Jonas Maurus <jonas-github@maurus.net>
Date: Wed, 2 Nov 2016 22:50:35 +0100
Subject: [PATCH] wrap stdint.h in autoconf variables
Signed-off-by: Jonas Maurus <jonas-github@maurus.net>
Patch-Source: https://github.com/OpenSMTPD/OpenSMTPD-extras/commit/b517268af8b467ed2937bd2ee0b47c07347c89b2
---
api/rfc2822.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/api/rfc2822.h b/api/rfc2822.h
index 0c35830..8bb0a8b 100644
--- a/api/rfc2822.h
+++ b/api/rfc2822.h
@@ -19,7 +19,9 @@
#ifndef _RFC2822_H_
#define _RFC2822_H_
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#define RFC2822_MAX_LINE_SIZE 4096
--
2.18.0