fixed some build errors on latest gcc

This commit is contained in:
punkrockguy318 2008-07-03 05:12:45 +00:00
parent 9e1513d04c
commit 48e8f5d378
4 changed files with 16 additions and 5 deletions

View File

@ -19,7 +19,8 @@
*/
#include "mapinc.h"
#include <stdio.h>
#include <string.h>
static uint8 cmd;
static uint8 DRegs[8];
static SFORMAT StateRegs[]=

View File

@ -1,3 +1,5 @@
#include<stdio.h>
#include<string.h>
#include "../types.h"
#include "../utils/memory.h"
#include "../x6502.h"
@ -8,3 +10,4 @@
#include "../cart.h"
#include "../cheat.h"
#include "../unif.h"

View File

@ -20,15 +20,20 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <math.h>
#include <string.h>
#include "types.h"
#include "file.h"
#include "fceu.h"
#include "driver.h"
#include "driver.h"
#include "boards/mapinc.h"
#include "palette.h"
#include "palettes/palettes.h"
#include "palettes/palettes.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846

View File

@ -21,7 +21,9 @@
/// \file
/// \brief memory management services provided by FCEU core
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "../types.h"
#include "../fceu.h"
#include "memory.h"