chiark / gitweb /
Fix mis-merged trackdb_open().
[disorder] / libtests / t-event.c
index 87c803a2a89fc63f4f8a4106248b43cef57ff9ff..3a723b4aaaff1a9c49e092075ebe0c8e44d6e871 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder.
- * Copyright (C) 2008 Richard Kettlewell
+ * Copyright (C) 2008, 2009 Richard Kettlewell
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -19,6 +19,7 @@
 #include "event.h"
 
 #include <time.h>
+#include <sys/time.h>
 
 static int run1, run2, run3;
 static ev_timeout_handle t1, t2, t3;