From: Ben Pfaff Date: Wed, 30 Sep 2009 04:47:09 +0000 (-0700) Subject: perl-module: Fix build on FreeBSD 7.2 X-Git-Tag: lenny-x64-build25 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Ftags%2Flenny-x64-build25;p=pspp-builds.git perl-module: Fix build on FreeBSD 7.2 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 #defines as empty. --- diff --git a/perl-module/PSPP.xs b/perl-module/PSPP.xs index 8572c6fe..77a720ca 100644 --- a/perl-module/PSPP.xs +++ b/perl-module/PSPP.xs @@ -17,12 +17,12 @@ 02110-1301, USA. */ +#include + #include "EXTERN.h" #include "perl.h" #include "XSUB.h" -#include - #include "ppport.h" #include "minmax.h"