diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2016-01-20 09:22:39 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-01-27 16:54:25 +1100 |
commit | 65a3c0dacbc7dbb75ddb6a70ebe22d8de084d0b0 (patch) | |
tree | ba802718fdbb5fa6339e9b8363d1b1e31f1a1109 | |
parent | fc77ccdc2ce6d5d06628b8da5048a6a5f6ffca5a (diff) |
upstream commit
Include sys/time.h for gettimeofday. From sortie at
maxsi.org.
Upstream-ID: 6ed0c33b836d9de0a664cd091e86523ecaa2fb3b
-rw-r--r-- | misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.c,v 1.100 2015/12/04 21:51:06 tobias Exp $ */ | 1 | /* $OpenBSD: misc.c,v 1.101 2016/01/20 09:22:39 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2005,2006 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2005,2006 Damien Miller. All rights reserved. |
@@ -29,6 +29,7 @@ | |||
29 | #include <sys/types.h> | 29 | #include <sys/types.h> |
30 | #include <sys/ioctl.h> | 30 | #include <sys/ioctl.h> |
31 | #include <sys/socket.h> | 31 | #include <sys/socket.h> |
32 | #include <sys/time.h> | ||
32 | #include <sys/un.h> | 33 | #include <sys/un.h> |
33 | 34 | ||
34 | #include <limits.h> | 35 | #include <limits.h> |