From 7eb67a0de8cc9bc34efea7d65b512470ae58afcc Mon Sep 17 00:00:00 2001 From: JP Dinger Date: Fri, 22 May 2009 02:25:27 +0200 Subject: [PATCH] Moving system includes to happen before vlc includes should obviate the need for compilation fixes with standard headers. --- src/config/file.c | 16 ++++++++-------- src/test/keys.c | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/config/file.c b/src/config/file.c index 9d12a97254..9b779ab1b4 100644 --- a/src/config/file.c +++ b/src/config/file.c @@ -16,20 +16,15 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif -#include -#include "../libvlc.h" -#include "vlc_charset.h" -#include "vlc_keys.h" - #include /* errno */ #include #include @@ -41,6 +36,11 @@ #include #endif +#include +#include "../libvlc.h" +#include "vlc_charset.h" +#include "vlc_keys.h" + #include "configuration.h" #include "modules/modules.h" diff --git a/src/test/keys.c b/src/test/keys.c index ab569c0bd8..807366e2f0 100644 --- a/src/test/keys.c +++ b/src/test/keys.c @@ -13,22 +13,22 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #ifdef HAVE_CONFIG_H # include "config.h" #endif -#include -#include - #include #include #include +#include +#include + int main (void) { bool ok = true; -- 2.39.2