]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (dtucker) [openbsd-compat/bsd-poll.c] Add headers to prevent compile
authorDarren Tucker <dtucker@zip.com.au>
Fri, 8 Nov 2013 10:12:58 +0000 (21:12 +1100)
committerDarren Tucker <dtucker@zip.com.au>
Fri, 8 Nov 2013 10:12:58 +0000 (21:12 +1100)
   warnings.

ChangeLog
openbsd-compat/bsd-poll.c

index e7d934fdbb3b0e5535577305d7d2631a14f6580c..b2f776781a139a9f28211e43b33fcc41be6b03e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
index f899d7a244c705159ddd82be5f236f54b6d22743..c7ef82776a7604db9d6450f2a0c367c747382e24 100644 (file)
@@ -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).
 #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"
 
 /*