Need <stdlib.h> when using RAND_MAX. (Thx, Shin-Ichi)

This commit is contained in:
William Kendrick 2007-08-18 18:10:23 +00:00
parent 6763d69cb8
commit bf95c8a5e4
2 changed files with 4 additions and 2 deletions

View file

@ -25,12 +25,13 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
Last updated: August 7, 2007
Last updated: August 18, 2007
$Id$
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h> /* For RAND_MAX */
#include <libintl.h>
#include "tp_magic_api.h"
#include "SDL_image.h"

View file

@ -24,12 +24,13 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
Last updated: August 7, 2007
Last updated: August 18, 2007
$Id$
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h> /* for RAND_MAX */
#include <libintl.h>
#include "tp_magic_api.h"
#include "SDL_image.h"