guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.8 autobuild fails


From: Greg Troxel
Subject: Re: 1.8 autobuild fails
Date: Mon, 11 May 2009 08:38:28 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (berkeley-unix)

Yes, it's new.

  Git tree... release_1-8-6-44-ge9c9fd3

This is my 1.8 branch autobuild:

  http://autobuild.josefsson.org/guile/log-200905090633244263000.txt

And yes, including sys/types.h fixes this.  At least on BSD, one
generally needs to include sys/types.h before random header files in
machine.

diff --git a/test-suite/standalone/test-round.c 
b/test-suite/standalone/test-round.c
index f9b4077..1543b7f 100644
--- a/test-suite/standalone/test-round.c
+++ b/test-suite/standalone/test-round.c
@@ -27,6 +27,9 @@
 #include <fenv.h>
 #elif defined HAVE_MACHINE_FPU_H
 /* On Tru64 5.1b, the declaration of fesetround(3) is here.  */
+#if HAVE_SYS_TYPES_H
+#  include <sys/types.h>
+#endif
 # include <machine/fpu.h>
 #endif
 

Attachment: pgpQUQre8s8yU.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]