Fix warnings on FreeBSD

This commit is contained in:
Ulrich Wilkens
2018-06-01 03:55:10 +02:00
committed by Jon Trulson
parent 885b65a09a
commit 297b6bd845
65 changed files with 342 additions and 269 deletions

View File

@@ -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;

View File

@@ -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 */