# HG changeset patch # User Bruno Haible # Date 1315388903 -7200 # Node ID 95adf5bf155dbf5f1e45244d54e08c8b82ecbd46 # Parent 6ed6226ab0af8380f1dbc8125c44235f9c5791e9 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 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,7 @@ -2011-09-04 J.T. Conklin - - parse-datetime: document the newly accepted format - * doc/parse-datetime.texi (Combined date and time of day items): - New section. +2011-09-07 Bruno Haible + + 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 --- 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