Skip to content
Snippets Groups Projects
Commit 22307ae0 authored by Yang Tse's avatar Yang Tse
Browse files

Inclusion of time header files based on header existance

parent e150150d
No related branches found
No related tags found
No related merge requests found
......@@ -30,11 +30,14 @@
#include "setup.h"
#ifdef WIN32
#include <time.h>
#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#ifdef TIME_WITH_SYS_TIME
#include <time.h>
#endif
#else
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment