Bug#637362: openconnect: Fix FTBFS on hurd-i386
Source: openconnect
Version: 3.02-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd
Hi,
currently openconnect does not compile on hurd-i386. The problem is a
missing inclusion of sys/statfs.h in ssl.c. The inlined patch fixes
this issue.
--- openconnect-3.02/ssl.c~ 2011-04-19 15:49:41.000000000 +0200
+++ openconnect-3.02/ssl.c 2011-08-10 17:43:18.000000000 +0200
@@ -40,6 +40,8 @@
#include <sys/mount.h>
#elif defined (__sun__) || defined(__NetBSD__) || defined(__DragonFly__)
#include <sys/statvfs.h>
+#elif defined (__GNU__)
+#include <sys/statfs.h>
#endif
#include <openssl/ssl.h>
Reply to: