diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-11-08 21:12:58 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-11-08 21:12:58 +1100 |
commit | 8c333ec23bdf7da917aa20ac6803a2cdd79182c5 (patch) | |
tree | 2faacec378021217e28ad7e7d8cd0efb7d69897e | |
parent | d94240b2f6b376b6e9de187e4a0cd4b89dfc48cb (diff) |
- (dtucker) [openbsd-compat/bsd-poll.c] Add headers to prevent compile
warnings.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | openbsd-compat/bsd-poll.c | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -24,6 +24,8 @@ - (dtucker) [kex.c] Only enable CURVE25519_SHA256 if we actually have EVP_sha256. - (dtucker) [myproposal.h] Conditionally enable CURVE25519_SHA256. + - (dtucker) [openbsd-compat/bsd-poll.c] Add headers to prevent compile + warnings. 20131107 - (djm) [ssh-pkcs11.c] Bring back "non-constant initialiser" fix (rev 1.5) diff --git a/openbsd-compat/bsd-poll.c b/openbsd-compat/bsd-poll.c index f899d7a2..c7ef8277 100644 --- a/openbsd-compat/bsd-poll.c +++ b/openbsd-compat/bsd-poll.c @@ -1,4 +1,4 @@ -/* $Id: bsd-poll.c,v 1.4 2008/08/29 21:32:38 dtucker Exp $ */ +/* $Id: bsd-poll.c,v 1.5 2013/11/08 10:12:58 dtucker Exp $ */ /* * Copyright (c) 2004, 2005, 2007 Darren Tucker (dtucker at zip com au). @@ -19,12 +19,15 @@ #include "includes.h" #if !defined(HAVE_POLL) +#include <sys/types.h> +#include <sys/time.h> #ifdef HAVE_SYS_SELECT_H # include <sys/select.h> #endif -#include <stdlib.h> #include <errno.h> +#include <stdlib.h> +#include <unistd.h> #include "bsd-poll.h" /* |