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)
10 lines
242 B
C
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"
|