freebsd-ports/security/pwman/files/patch-src-pwman.h
Pav Lucistnik ff2b67ac7d - Fix handling of & sign, it need to be escaped for XML storage
PR:		ports/85240
Submitted by:	Maurice Castro <maurice@sphinx.clari.net.au>
Approved by:	maintainer timeout (anders, 17 days)

- While here, fix runtime crash on 64bit platforms by explicitly declaring
  getenv() (via including <stdlib.h> header)
2005-10-08 21:32:20 +00:00

10 lines
242 B
C

--- src/pwman.h.orig Mon Oct 14 18:10:36 2002
+++ src/pwman.h Sat Oct 8 23:21:23 2005
@@ -26,6 +26,7 @@
#include <string.h>
#include <config.h>
#include <time.h>
+#include <stdlib.h>
#include <stdarg.h>
#define CONF_FILE ".pwmanrc"