summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-19 09:16:09 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-19 09:16:09 +0100
commit836ea5679e5a817e0c6a2654d5a29a053a602593 (patch)
tree8f35232bb9379238b651a8672af964039f057b06 /windows
parent46e1061ef3b156016c689698d35bbbbbebf17471 (diff)
downloadnetsurf-836ea5679e5a817e0c6a2654d5a29a053a602593.tar.gz
netsurf-836ea5679e5a817e0c6a2654d5a29a053a602593.tar.bz2
move sys/time.h support functionality out of generic header
The utils header is a large collection of functionality for several system headers and API. This splits out the ones from sys/time.h into a separate header reducing the need for many unconnected source files to include the system header unecessarily.
Diffstat (limited to 'windows')
-rw-r--r--windows/download.c2
-rw-r--r--windows/schedule.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/windows/download.c b/windows/download.c
index e1641bae3..110c27280 100644
--- a/windows/download.c
+++ b/windows/download.c
@@ -17,13 +17,13 @@
*/
#include <limits.h>
-#include <sys/time.h>
#include "utils/config.h"
#include <shlobj.h>
#include <windows.h>
+#include "utils/sys_time.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/url.h"
diff --git a/windows/schedule.c b/windows/schedule.c
index eb9ed3bc4..249e60e27 100644
--- a/windows/schedule.c
+++ b/windows/schedule.c
@@ -16,9 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <sys/time.h>
#include <time.h>
+#include "utils/sys_time.h"
#include "utils/log.h"
#include "utils/utils.h"
#include "utils/errors.h"