Add include <time.h> for CLOCK_MONOTONIC
authorMartin Johansson <martin@fatbob.nu>
Sun, 10 Nov 2013 18:45:45 +0000 (19:45 +0100)
committerMartin Johansson <martin@fatbob.nu>
Sun, 10 Nov 2013 18:45:45 +0000 (19:45 +0100)
src/timer.c

index 55f5f9cf2905e82492dbbbdaf9e17d6a9fd5d4bf..9beef0030cbba61c1ba0dc9186b866b74a6c0461 100644 (file)
@@ -28,7 +28,7 @@
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
-#include <sys/time.h>
+#include <time.h>
 #include <stdint.h>
 #include <stdio.h>