X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=boottime.c;h=bdcd1f2d26a2ee3081efd4df83573456599d671b;hb=f3530d8198251b72d01da9a07b1fa518446ec0f0;hp=f75af3ecaaae1707a191e202033fa0604ab5759b;hpb=a91c5f78701b90c47a08daa15569ef64c6194504;p=debian%2Fsudo diff --git a/boottime.c b/boottime.c index f75af3e..bdcd1f2 100644 --- a/boottime.c +++ b/boottime.c @@ -42,12 +42,16 @@ #if TIME_WITH_SYS_TIME # include #endif - +#ifdef HAVE_GETUTXID +# include +#endif +#ifdef HAVE_GETUTID +# include +#endif #ifdef HAVE_SYSCTL # include #endif -#include "compat.h" #include "missing.h" /* @@ -102,7 +106,6 @@ get_boottime(tv) #elif defined(HAVE_GETUTXID) -#include int get_boottime(tv) struct timeval *tv; @@ -121,7 +124,6 @@ get_boottime(tv) #elif defined(HAVE_GETUTID) -#include int get_boottime(tv) struct timeval *tv;