From 2a6f1f8141c6027002357e2457172c8536e8f70b Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Sun, 8 Jul 2012 17:23:05 +0200 Subject: [PATCH] mainloop.c - malloc without a prototype I noticed a little problem building OpenConnect against gnutls 3; mainloop.c uses malloc() in queue_new_packet(), somewhere in the chain of openssl headers stdlib.h gets pulled in so it works ok there, but this isn't the case with a gnutls build. Signed-off-by: Stuart Henderson Signed-off-by: David Woodhouse --- mainloop.c | 1 + www/changelog.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mainloop.c b/mainloop.c index fa17515..5f65c67 100644 --- a/mainloop.c +++ b/mainloop.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/www/changelog.xml b/www/changelog.xml index 533fe06..54f7586 100644 --- a/www/changelog.xml +++ b/www/changelog.xml @@ -17,7 +17,7 @@
  • OpenConnect HEAD
      -
    • No changelog entries yet
    • +
    • Fix GnuTLS v3 build on OpenBSD.

  • OpenConnect v4.04 -- 2.7.4