Commit be1646a7 authored by Rémi Duraffort's avatar Rémi Duraffort

include config.h before any other include.

parent 202a87b6
...@@ -23,9 +23,16 @@ ...@@ -23,9 +23,16 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#include "bda.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include "bda.h"
/***************************************************************************** /*****************************************************************************
* Access: local prototypes * Access: local prototypes
*****************************************************************************/ *****************************************************************************/
......
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "callback.h" #include "callback.h"
#include "access.h" #include "access.h"
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#import <stdlib.h>
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# import "config.h" # import "config.h"
...@@ -36,6 +35,7 @@ ...@@ -36,6 +35,7 @@
#import <ApplicationServices/ApplicationServices.h> #import <ApplicationServices/ApplicationServices.h>
#import <OpenGL/OpenGL.h> #import <OpenGL/OpenGL.h>
#import <OpenGL/gl.h> #import <OpenGL/gl.h>
#import <stdlib.h>
typedef int CGSConnectionRef; typedef int CGSConnectionRef;
extern CGError CGSNewConnection( void *, CGSConnectionRef * ); extern CGError CGSNewConnection( void *, CGSConnectionRef * );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment