Commit b1edade4 authored by Youness Alaoui's avatar Youness Alaoui
Browse files

include sys/time.h in timer.h instead of timer.c since we need it for the struct timeval

parent 7120cdbd
......@@ -41,16 +41,12 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#else
#include <sys/time.h>
#include <unistd.h>
#endif
#include "timer.h"
#include <stdlib.h> /* div() */
#include <time.h>
#include <sys/types.h>
/*
......
......@@ -102,9 +102,11 @@
#include <winsock2.h>
#else
# include <sys/types.h>
# include <sys/time.h>
# include <time.h>
#endif
/**
* StunTimer:
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment