1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-22 23:10:37 +02:00

In "utilities.h", only include those headers that are needed by the definitions in "utilities.h".

This commit is contained in:
Maarten ter Huurne 2010-06-19 04:44:03 +02:00
parent 6ec61558e9
commit 660b4f01aa
6 changed files with 8 additions and 3 deletions

View File

@ -25,6 +25,7 @@
#include <errno.h> #include <errno.h>
#include <iostream> #include <iostream>
#include <algorithm> #include <algorithm>
#include <cstring>
#include "filelister.h" #include "filelister.h"
#include "utilities.h" #include "utilities.h"

View File

@ -24,6 +24,7 @@
#include <dirent.h> #include <dirent.h>
#include <algorithm> #include <algorithm>
#include <math.h> #include <math.h>
#include <fstream>
#include "gmenu2x.h" #include "gmenu2x.h"
#include "linkapp.h" #include "linkapp.h"

View File

@ -25,6 +25,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h> #include <dirent.h>
#include <fstream>
#include "menu.h" #include "menu.h"
#include "linkapp.h" #include "linkapp.h"

View File

@ -18,6 +18,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/ ***************************************************************************/
#include <fstream>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
#include <stdarg.h> #include <stdarg.h>

View File

@ -22,7 +22,11 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h> #include <dirent.h>
#include <fstream>
#include <iostream> #include <iostream>
#include <strings.h>
#include <SDL.h>
#include "utilities.h" #include "utilities.h"

View File

@ -21,9 +21,6 @@
#ifndef UTILITIES_H #ifndef UTILITIES_H
#define UTILITIES_H #define UTILITIES_H
#include <SDL.h>
#include <SDL_gfxPrimitives.h>
#include <fstream>
#include <string> #include <string>
#include <vector> #include <vector>
#include <tr1/unordered_map> #include <tr1/unordered_map>