[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] missing #include <stdlib.h> in persistent.c
From: |
Teun Burgers |
Subject: |
[gnugo-devel] missing #include <stdlib.h> in persistent.c |
Date: |
Sat, 14 Aug 2004 11:25:38 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
Compiling current CVS on cygwin results in a warning
for a missing prototype for malloc. Fixed by this
patch.
Teun
- include stdlib.h in persistent.c for malloc() call
diff -u -r1.25 persistent.c
--- persistent.c 19 Jul 2004 12:23:08 -0000 1.25
+++ persistent.c 14 Aug 2004 09:22:55 -0000
@@ -49,6 +49,7 @@
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
#include "liberty.h"
#include "cache.h"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnugo-devel] missing #include <stdlib.h> in persistent.c,
Teun Burgers <=