[AD] minor fix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I think the attached patch makes sense, it allows compiling on systems
which need the #include <sys/time.h>. Applying it if no objections.

-- 
Elias Pschernig <elias@xxxxxxxxxx>
Index: setup/setup.c
===================================================================
RCS file: /cvsroot/alleg/allegro/setup/setup.c,v
retrieving revision 1.37
diff -u -p -r1.37 setup.c
--- setup/setup.c	14 Feb 2004 11:05:37 -0000	1.37
+++ setup/setup.c	17 Jun 2004 16:12:09 -0000
@@ -21,13 +21,13 @@
 #include <stdio.h>
 #include <string.h>
 
+#include "allegro.h"
+#include "allegro/internal/aintern.h"
+
 #ifdef ALLEGRO_LINUX
    #include <sys/time.h>
 #endif
 
-#include "allegro.h"
-#include "allegro/internal/aintern.h"
-
 #ifdef ALLEGRO_INTERNAL_HEADER
    #include ALLEGRO_INTERNAL_HEADER
 #endif


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/