|
|
@ -0,0 +1,39 @@ |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: package/.../musl/pkg/opensmtpd/add_missing_includes.patch |
|
|
|
# Copyright (C) 2015 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
|
# This patch file is dual-licensed. It is available under the license the |
|
|
|
# patched project is licensed under, as long as it is an OpenSource license |
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
|
|
# of the GNU General Public License as published by the Free Software |
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
|
|
# version. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
From 3a4e9aaf4a4afba93e48c4a9e7629eac816be4a9 Mon Sep 17 00:00:00 2001 |
|
|
|
From: Gilles Chehade <gilles@poolp.org> |
|
|
|
Date: Mon, 12 Jan 2015 10:30:12 +0100 |
|
|
|
Subject: [PATCH] fparseln() uses a FILE and therefore needs stdio.h, I'm |
|
|
|
pulling string.h also as it seems to be needed too. |
|
|
|
|
|
|
|
---
|
|
|
|
openbsd-compat/openbsd-compat.h | 2 ++ |
|
|
|
1 file changed, 2 insertions(+) |
|
|
|
|
|
|
|
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
|
|
|
|
index b0300e7..e345a9d 100644
|
|
|
|
--- a/openbsd-compat/openbsd-compat.h
|
|
|
|
+++ b/openbsd-compat/openbsd-compat.h
|
|
|
|
@@ -193,6 +193,8 @@ char * fgetln(FILE *stream, size_t *len);
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifndef HAVE_FPARSELN |
|
|
|
+#include <stdio.h>
|
|
|
|
+#include <string.h>
|
|
|
|
char * fparseln(FILE *fp, size_t *size, size_t *lineno, const char str[3], int flags); |
|
|
|
#endif |
|
|
|
|