0002-fix-howmany-include.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Update patch from 2fea21799223d41605556858a95b55e69e9960ca to openssh
  2. version 6.8p1
  3. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  4. diff -Nura openssh-6.8p1.orig/openbsd-compat/bsd-poll.c openssh-6.8p1/openbsd-compat/bsd-poll.c
  5. --- openssh-6.8p1.orig/openbsd-compat/bsd-poll.c 2015-03-18 07:11:46.184620677 -0300
  6. +++ openssh-6.8p1/openbsd-compat/bsd-poll.c 2015-03-18 07:12:29.120094555 -0300
  7. @@ -19,6 +19,7 @@
  8. #include "includes.h"
  9. #if !defined(HAVE_POLL)
  10. +#include <sys/param.h>
  11. #include <sys/types.h>
  12. #include <sys/time.h>
  13. #ifdef HAVE_SYS_SELECT_H
  14. diff -Nura openssh-6.8p1.orig/sshd.c openssh-6.8p1/sshd.c
  15. --- openssh-6.8p1.orig/sshd.c 2015-03-18 07:11:46.187620780 -0300
  16. +++ openssh-6.8p1/sshd.c 2015-03-18 07:13:11.889562735 -0300
  17. @@ -44,6 +44,7 @@
  18. #include "includes.h"
  19. +#include <sys/param.h>
  20. #include <sys/types.h>
  21. #include <sys/ioctl.h>
  22. #include <sys/socket.h>
  23. diff -Nura openssh-6.8p1.orig/ssh-keyscan.c openssh-6.8p1/ssh-keyscan.c
  24. --- openssh-6.8p1.orig/ssh-keyscan.c 2015-03-18 07:11:46.180620539 -0300
  25. +++ openssh-6.8p1/ssh-keyscan.c 2015-03-18 07:13:32.092256248 -0300
  26. @@ -9,6 +9,7 @@
  27. #include "includes.h"
  28. +#include <sys/param.h>
  29. #include <sys/types.h>
  30. #include "openbsd-compat/sys-queue.h"
  31. #include <sys/resource.h>
  32. diff -Nura openssh-6.8p1.orig/ssh-pkcs11-helper.c openssh-6.8p1/ssh-pkcs11-helper.c
  33. --- openssh-6.8p1.orig/ssh-pkcs11-helper.c 2015-03-18 07:11:46.182620608 -0300
  34. +++ openssh-6.8p1/ssh-pkcs11-helper.c 2015-03-18 07:13:43.620651993 -0300
  35. @@ -17,6 +17,7 @@
  36. #include "includes.h"
  37. +#include <sys/param.h>
  38. #include <sys/types.h>
  39. #ifdef HAVE_SYS_TIME_H
  40. # include <sys/time.h>