aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2017-07-28 09:02:53 +0200
committerGitHub <noreply@github.com>2017-07-28 09:02:53 +0200
commit5bffdb3ad0bfa3f57250cb6a5f015cd42e44b464 (patch)
treecd1dd6b194fee087e01df7dbe2673a0d76c0f65e
parentMerge pull request #44 from paisleyrob/master (diff)
parentMerge branch 'master' into upstream-pr/uint8_t-needs-stdint.h (diff)
downloadOpenSMTPD-extras-5bffdb3ad0bfa3f57250cb6a5f015cd42e44b464.tar.xz
OpenSMTPD-extras-5bffdb3ad0bfa3f57250cb6a5f015cd42e44b464.zip
Merge pull request #40 from jdelic/upstream-pr/uint8_t-needs-stdint.h
uint8_t is defined in stdint.h, at least on Linux
-rw-r--r--api/rfc2822.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/rfc2822.h b/api/rfc2822.h
index 30b878b..8bb0a8b 100644
--- a/api/rfc2822.h
+++ b/api/rfc2822.h
@@ -19,6 +19,10 @@
#ifndef _RFC2822_H_
#define _RFC2822_H_
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
#define RFC2822_MAX_LINE_SIZE 4096
struct rfc2822_line {