[vlc-devel] commit: Moving system includes to happen before vlc includes should obviate ( JP Dinger )

git version control git at videolan.org
Fri May 22 02:26:35 CEST 2009


vlc | branch: master | JP Dinger <jpd at videolan.org> | Fri May 22 02:25:27 2009 +0200| [7eb67a0de8cc9bc34efea7d65b512470ae58afcc] | committer: JP Dinger 

Moving system includes to happen before vlc includes should obviate
the need for compilation fixes with standard headers.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7eb67a0de8cc9bc34efea7d65b512470ae58afcc
---

 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 9d12a97..9b779ab 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 <vlc_common.h>
-#include "../libvlc.h"
-#include "vlc_charset.h"
-#include "vlc_keys.h"
-
 #include <errno.h>                                                  /* errno */
 #include <assert.h>
 #include <limits.h>
@@ -41,6 +36,11 @@
 #include <locale.h>
 #endif
 
+#include <vlc_common.h>
+#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 ab569c0..807366e 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 <vlc_common.h>
-#include <vlc_keys.h>
-
 #include <stdio.h>
 #include <stdint.h>
 #include <stdbool.h>
 
+#include <vlc_common.h>
+#include <vlc_keys.h>
+
 int main (void)
 {
     bool ok = true;




More information about the vlc-devel mailing list