summaryrefslogtreecommitdiffstats
path: root/src/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/io')
-rw-r--r--src/io/http.cpp2
-rw-r--r--src/io/sys.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/io/http.cpp b/src/io/http.cpp
index c081ca7bc..c12cf079a 100644
--- a/src/io/http.cpp
+++ b/src/io/http.cpp
@@ -35,7 +35,7 @@
#include <glib/gstdio.h>
#include <libsoup/soup.h>
#include <string>
-#include <time.h>
+#include <ctime>
#include "io/sys.h"
#include "io/http.h"
diff --git a/src/io/sys.h b/src/io/sys.h
index e349fc09c..39ba399f5 100644
--- a/src/io/sys.h
+++ b/src/io/sys.h
@@ -12,7 +12,7 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <stdio.h>
+#include <cstdio>
#include <sys/stat.h>
#include <sys/types.h>
#include <glib.h>