perl-module: Fix build on FreeBSD 7.2 fbsd72-i386-build15 fc11-i386-build3 fc11-x64-build4 lenny-x64-build25 sid-i386-build69
authorBen Pfaff <blp@gnu.org>
Wed, 30 Sep 2009 04:47:09 +0000 (21:47 -0700)
committerBen Pfaff <blp@gnu.org>
Wed, 30 Sep 2009 04:47:09 +0000 (21:47 -0700)
config.h must be included first, otherwise the build fails on FreeBSD 7.2
in gl/string.h at the first instance of "restrict", which <config.h>
#defines as empty.

perl-module/PSPP.xs

index 8572c6fee93c75e0f4acb8945aef236ebbf906a0..77a720caabf69cc17a172ab2c0b1233b7baa9987 100644 (file)
    02110-1301, USA. */
 
 
+#include <config.h>
+
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"
 
-#include <config.h>
-
 #include "ppport.h"
 
 #include "minmax.h"