diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 01:50:08 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 01:50:08 +0000 |
commit | 1c23282a9a6f261299f6c5f9b5579dbeef3b51c2 (patch) | |
tree | 1f96b7da5dcdeec15febbcd9185bb516469c0a48 /usr.sbin/sensorsd | |
parent | 9eb1375e8f7c8e5ce4622ca52fd30eccfceedc4d (diff) |
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
Diffstat (limited to 'usr.sbin/sensorsd')
-rw-r--r-- | usr.sbin/sensorsd/sensorsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sensorsd/sensorsd.c b/usr.sbin/sensorsd/sensorsd.c index 8374be81642..4c0750c6648 100644 --- a/usr.sbin/sensorsd/sensorsd.c +++ b/usr.sbin/sensorsd/sensorsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensorsd.c,v 1.59 2015/12/12 20:04:23 mmcc Exp $ */ +/* $OpenBSD: sensorsd.c,v 1.60 2016/08/27 01:50:07 guenther Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -21,6 +21,7 @@ #include <sys/types.h> #include <sys/sysctl.h> #include <sys/queue.h> +#include <sys/time.h> #include <sys/sensors.h> #include <err.h> |