openbsd-ports/net/ushare/patches/patch-src_presentation_c

17 lines
408 B
Plaintext

$OpenBSD: patch-src_presentation_c,v 1.2 2012/11/07 14:53:59 dcoppa Exp $
Add missing headers
--- src/presentation.c.orig Sun Dec 9 14:03:36 2007
+++ src/presentation.c Wed Nov 7 13:16:26 2012
@@ -18,7 +18,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#if HAVE_LANGINFO_CODESET
# include <langinfo.h>