Fix warnings on FreeBSD
This commit is contained in:
committed by
Jon Trulson
parent
885b65a09a
commit
297b6bd845
@@ -52,7 +52,7 @@
|
||||
#ifndef _GETDATE_H
|
||||
#define _GETDATE_H
|
||||
|
||||
#if defined(USG) || defined(__OpenBSD__)
|
||||
#if defined(USG) || defined(CSRG_BASED)
|
||||
struct timeb
|
||||
{
|
||||
time_t time;
|
||||
|
||||
@@ -61,6 +61,8 @@
|
||||
#include <sys/utsname.h> /* SYS_NMLN */
|
||||
#if defined(sun)
|
||||
#include <sys/systeminfo.h>
|
||||
#elif defined(CSRG_BASED)
|
||||
#include <sys/dirent.h>
|
||||
#else
|
||||
#include <sys/dir.h>
|
||||
#endif /* sun */
|
||||
|
||||
Reference in New Issue
Block a user