sys_timex: move inclusion of sys/timex.h to sysincl.h
It will be needed by privops.
This commit is contained in:
parent
8e327bb0a3
commit
d5bc4e92e6
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue