POSIX has all we need in <time.h>. No need to fool around with
<sys/time.h>.
This commit is contained in:
parent
836e6f755a
commit
696b5b4b64
3 changed files with 0 additions and 11 deletions
|
@ -32,11 +32,7 @@
|
||||||
* Steve McClure, 1998
|
* Steve McClure, 1998
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(Rel4) || defined(_WIN32)
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#else
|
|
||||||
#include <sys/time.h>
|
|
||||||
#endif /* Rel4 */
|
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "player.h"
|
#include "player.h"
|
||||||
#include "nat.h"
|
#include "nat.h"
|
||||||
|
|
|
@ -45,11 +45,7 @@
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#if defined(Rel4) || defined(_WIN32)
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#else /* Rel4 */
|
|
||||||
#include <sys/time.h>
|
|
||||||
#endif /* Rel4 */
|
|
||||||
|
|
||||||
void
|
void
|
||||||
update_policy_check(void)
|
update_policy_check(void)
|
||||||
|
|
|
@ -48,11 +48,8 @@
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#ifdef Rel4
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#endif /* Rel4 */
|
|
||||||
#if !defined(_WIN32)
|
#if !defined(_WIN32)
|
||||||
#include <sys/time.h>
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue