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: sid-i386-build69^0 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=1be0fed037916efa475c97c6cb4da8f168a56d0b 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"