client: Include config.h from common.h

config.h should be availible everywhere, so move its inclusion
to the top of common.h.
This commit is contained in:
Alexander Larsson 2010-09-29 13:26:21 +02:00
parent 44631aa023
commit 93dc13c91a
5 changed files with 4 additions and 10 deletions

View File

@ -15,10 +15,6 @@
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WIN32
#include "config.h"
#endif
#include "common.h"
#ifdef WIN32
#include <io.h>

View File

@ -18,6 +18,10 @@
#ifndef _H_COMMON
#define _H_COMMON
#ifndef WIN32
#include "config.h"
#endif
#ifndef _WIN32_WCE
#include <errno.h>
#endif

View File

@ -16,10 +16,6 @@
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WIN32
#include "config.h"
#endif
#include "common.h"
#include "debug.h"
#include "utils.h"

View File

@ -17,7 +17,6 @@
#include "common.h"
#include "application.h"
#include "config.h"
static void cleanup()
{

View File

@ -40,7 +40,6 @@
#include <set>
#include <values.h>
#include <signal.h>
#include <config.h>
#include <sys/shm.h>
#include "platform.h"