From: Roland McGrath Date: Sat, 20 Oct 2012 10:52:29 +0000 (+0200) Subject: Alsways include in . X-Git-Tag: glibc-2.17~381 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ac5c94d31d3259a32bfcc3be0ba198c72ff906db;p=thirdparty%2Fglibc.git Alsways include in . Move include of to the top and include it unconditionally. --- diff --git a/ChangeLog b/ChangeLog index 1fbb602c30d..46e7179c639 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-10-20 Roland McGrath + + * io/fcntl.h: Move include of to the top and + include it unconditionally. + 2012-10-20 H.J. Lu * wcsmbs/Makefile (tests-ifunc): New variable. diff --git a/io/fcntl.h b/io/fcntl.h index c7d5e6972ce..81f34bfbd75 100644 --- a/io/fcntl.h +++ b/io/fcntl.h @@ -27,6 +27,9 @@ /* This must be early so can define types winningly. */ __BEGIN_DECLS +/* Get __mode_t, __dev_t and __off_t .*/ +#include + /* Get the definitions of O_*, F_*, FD_*: all the numbers and flag bits for `open', `fcntl', et al. */ #include @@ -56,7 +59,6 @@ typedef __pid_t pid_t; /* For XPG all symbols from should also be available. */ #if defined __USE_XOPEN || defined __USE_XOPEN2K8 -# include /* For __mode_t and __dev_t. */ # define __need_timespec # include # include