A couple of minor changes when #including <utime.h>

This commit is contained in:
John Emmas 2017-12-02 11:46:20 +00:00
parent 1dd52464aa
commit 9aab9bc229
2 changed files with 13 additions and 2 deletions

View File

@ -25,9 +25,15 @@
#include <cassert>
#include <sys/types.h>
#include <fcntl.h>
#include <utime.h>
#ifdef COMPILER_MSVC
#include <sys/utime.h>
#else
#include <unistd.h>
#include <utime.h>
#endif
#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>

View File

@ -2,7 +2,12 @@
#include <stdlib.h>
#include <string.h>
#include <vector>
#ifdef COMPILER_MSVC
#include <sys/utime.h>
#else
#include <utime.h>
#endif
#include <glib.h>