summaryrefslogtreecommitdiff
path: root/lib/gethrxtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gethrxtime.c')
-rw-r--r--lib/gethrxtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gethrxtime.c b/lib/gethrxtime.c
index f3d41c7b9a..2046e0607f 100644
--- a/lib/gethrxtime.c
+++ b/lib/gethrxtime.c
@@ -1,6 +1,6 @@
/* gethrxtime -- get high resolution real time
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
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
@@ -22,6 +22,7 @@
#include "gethrxtime.h"
+#include <sys/time.h>
#include "timespec.h"
/* Get the current time, as a count of the number of nanoseconds since