aboutsummaryrefslogtreecommitdiffstats
path: root/community/openvas-libraries/002-timeval.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-18 11:58:22 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-18 11:59:48 +0000
commitc0c65e93d4e2c13f299c0921fef7fe9574f0a962 (patch)
tree85cef9fd6f71bb5215ba46c819e206b5395caaa6 /community/openvas-libraries/002-timeval.patch
parentd50351209bd14888ab45c69920b232b2002abe17 (diff)
downloadaports-c0c65e93d4e2c13f299c0921fef7fe9574f0a962.tar.bz2
aports-c0c65e93d4e2c13f299c0921fef7fe9574f0a962.tar.xz
community/openvas-libraries: moved from testing
Diffstat (limited to 'community/openvas-libraries/002-timeval.patch')
-rw-r--r--community/openvas-libraries/002-timeval.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/openvas-libraries/002-timeval.patch b/community/openvas-libraries/002-timeval.patch
new file mode 100644
index 0000000000..937473da6f
--- /dev/null
+++ b/community/openvas-libraries/002-timeval.patch
@@ -0,0 +1,13 @@
+diff --git a/nasl/proto.h b/nasl/proto.h
+index cb16a3e..f293782 100644
+--- a/nasl/proto.h
++++ b/nasl/proto.h
+@@ -24,7 +24,7 @@
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+-#include <time.h>
++#include <sys/time.h>
+ #include "smb.h"
+ /*implemented in genrand.c*/
+ void generate_random_buffer_ntlmssp( unsigned char *out, int len);