sys_timex: move inclusion of sys/timex.h to sysincl.h

It will be needed by privops.
This commit is contained in:
Miroslav Lichvar 2015-12-10 10:53:45 +01:00
parent 8e327bb0a3
commit d5bc4e92e6
2 changed files with 4 additions and 2 deletions

View file

@ -27,8 +27,6 @@
#ifndef GOT_SYS_TIMEX_H #ifndef GOT_SYS_TIMEX_H
#define GOT_SYS_TIMEX_H #define GOT_SYS_TIMEX_H
#include <sys/timex.h>
#include "localp.h" #include "localp.h"
extern void SYS_Timex_Initialise(void); extern void SYS_Timex_Initialise(void);

View file

@ -59,6 +59,10 @@
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
#if defined(LINUX) || defined(FREEBSD) || defined(NETBSD) || defined(SOLARIS)
#include <sys/timex.h>
#endif
#ifdef HAVE_INTTYPES_H #ifdef HAVE_INTTYPES_H
#include <inttypes.h> #include <inttypes.h>
#elif HAVE_STDINT_H #elif HAVE_STDINT_H