]> git.sesse.net Git - vlc/commitdiff
include config.h before any other include.
authorRémi Duraffort <ivoire@videolan.org>
Sun, 19 Apr 2009 17:14:26 +0000 (19:14 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 25 Apr 2009 16:20:17 +0000 (18:20 +0200)
modules/access/bda/bda.c
modules/access/cdda/cdda.c
modules/access/screen/mac.c

index 6cfb477de2b7c1b3c8be4cc20ab2610a258bdf9d..42987a45797494ccc2614696aeee7008c86c49e6 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include "bda.h"
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc_plugin.h>
 
+#include "bda.h"
+
+
 /*****************************************************************************
  * Access: local prototypes
  *****************************************************************************/
index 63c59facab7fe705256bcab12faf89a21373d6b8..c51ab9b8f713178bb8281cdd88b32daebb925708 100644 (file)
@@ -24,6 +24,9 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #include "callback.h"
 #include "access.h"
index 02ddb7ff90bf4b4146ea7302a5d36a3cfe6f09c8..5b14fdd610773963176644ee76abcd8d5e1d8590 100644 (file)
@@ -25,7 +25,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#import <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 # import "config.h"
@@ -36,6 +35,7 @@
 #import <ApplicationServices/ApplicationServices.h>
 #import <OpenGL/OpenGL.h>
 #import <OpenGL/gl.h>
+#import <stdlib.h>
 
 typedef int CGSConnectionRef;
 extern CGError CGSNewConnection( void *, CGSConnectionRef * );