openbsd-ports/graphics/sane-backends/patches/patch-tools_umax_pp_c
2012-08-28 08:26:40 +00:00

15 lines
393 B
Plaintext

$OpenBSD: patch-tools_umax_pp_c,v 1.1 2012/08/28 08:26:40 ajacoutot Exp $
umax_pp.c:330: warning: implicit declaration of function 'putenv'
--- tools/umax_pp.c.orig Tue Aug 28 09:29:19 2012
+++ tools/umax_pp.c Tue Aug 28 09:29:29 2012
@@ -7,6 +7,7 @@
/* For putenv */
#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE_EXTENDED 1
#include <stdlib.h>
#include <unistd.h>
#include <string.h>