incorporate header fixes proposed in bug 3097

Not sure these are *really* needed, but I suppose they don't hurt

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-02-07 14:58:57 +01:00
parent 5a746dcec5
commit dd807c16f9
2 changed files with 4 additions and 1 deletions

View File

@ -33,6 +33,9 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#ifndef major
# include <sys/sysmacros.h>
#endif
#include <sys/wait.h> #include <sys/wait.h>
#include <termios.h> #include <termios.h>
#include <time.h> #include <time.h>

View File

@ -362,7 +362,7 @@ typedef unsigned smalluint;
#endif #endif
#if defined(__GLIBC__) #if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200809L) || defined(__GLIBC__)
# define fdprintf dprintf # define fdprintf dprintf
#endif #endif