Make sure config.h is only included once

Fixes build problem on win32 (#585075).
This commit is contained in:
Tim-Philipp Müller 2009-06-10 20:29:41 +01:00
parent 094d71f004
commit 7e9105bca0
2 changed files with 2 additions and 4 deletions

View file

@ -24,7 +24,9 @@
#define __GST_PRIVATE_H__
#ifdef HAVE_CONFIG_H
# ifndef GST_LICENSE /* don't include config.h twice, it has no guards */
# include "config.h"
# endif
#endif
/* This needs to be before glib.h, since it might be used in inline

View file

@ -33,10 +33,6 @@
#include <gst/gstpad.h>
#include <gst/gstregistry.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*
* GST_MAGIC_BINARY_REGISTRY_STR:
*