From 76074e9af140661560dc1ce16d0a80c2e768a740 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 7 Sep 2011 11:48:23 +0200 Subject: [PATCH] openat: Work around compilation error with OSF/1 5.1 DTK cc. * lib/openat.h: Use different syntax for include of . --- ChangeLog | 7 +++---- lib/openat.h | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2f64d746e..79d9777e4 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 b26571f82..fb4f4d8bd 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 -- 2.11.0