From: Bruno Haible Date: Wed, 7 Sep 2011 09:48:23 +0000 (+0200) Subject: openat: Work around compilation error with OSF/1 5.1 DTK cc. X-Git-Tag: v0.1~1945 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=76074e9af140661560dc1ce16d0a80c2e768a740;p=gnulib.git openat: Work around compilation error with OSF/1 5.1 DTK cc. * lib/openat.h: Use different syntax for include of . --- diff --git a/ChangeLog b/ChangeLog index 2f64d746e1..79d9777e48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,7 @@ -2011-09-04 J.T. Conklin +2011-09-07 Bruno Haible - parse-datetime: document the newly accepted format - * doc/parse-datetime.texi (Combined date and time of day items): - New section. + openat: Work around compilation error with OSF/1 5.1 DTK cc. + * lib/openat.h: Use different syntax for include of . 2011-09-06 Bruno Haible diff --git a/lib/openat.h b/lib/openat.h index b26571f824..fb4f4d8bd9 100644 --- a/lib/openat.h +++ b/lib/openat.h @@ -19,7 +19,9 @@ #ifndef _GL_HEADER_OPENAT #define _GL_HEADER_OPENAT -#include +/* Write "fcntl.h" here, not , otherwise OSF/1 5.1 DTK cc miscompiles + openat.c because that file has a preliminary #include . */ +#include "fcntl.h" #include #include