summaryrefslogtreecommitdiff
path: root/monkey
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 /monkey
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 'monkey')
-rw-r--r--monkey/main.c2
-rw-r--r--monkey/schedule.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/monkey/main.c b/monkey/main.c
index e09d0ea4a..526488e9e 100644
--- a/monkey/main.c
+++ b/monkey/main.c
@@ -20,11 +20,11 @@
#include <stdlib.h>
#include <limits.h>
#include <sys/select.h>
-#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include "utils/config.h"
+#include "utils/sys_time.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/filepath.h"
diff --git a/monkey/schedule.c b/monkey/schedule.c
index e2d54e8ab..8c638c0b9 100644
--- a/monkey/schedule.c
+++ b/monkey/schedule.c
@@ -16,10 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <sys/time.h>
#include <time.h>
#include <stdlib.h>
+#include "utils/sys_time.h"
#include "utils/log.h"
#include "monkey/schedule.h"