add guards around config.h

SVN revision: 34662
This commit is contained in:
doursse 2008-05-25 05:15:21 +00:00 committed by doursse
parent 6df0eef45f
commit ada9638cbe
1 changed files with 10 additions and 6 deletions

View File

@ -1,6 +1,10 @@
#ifndef MAIN_H
#define MAIN_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -13,7 +17,6 @@
#endif
#include <Evas.h>
#include "config.h"
#if HAVE_EVAS_SOFTWARE_X11
#include "engine_software_x11.h"
#endif
@ -50,6 +53,7 @@
#if HAVE_EVAS_DIRECTFB
#include "engine_directfb.h"
#endif
#include "ui.h"
#include "about.h"