aports/community/openvas-libraries/002-timeval.patch
Francesco Colista 65c9d893ce community/openvas-libraries: renamed back from gvm-libs
Openvas are going to release gvm-libs with 1.0.0 rather than 10.0.0.
This will break upgrades.
See:  https://github.com/greenbone/gvm-libs/issues/189 for an issue opened at this regard.
In order to prepare openvas to next version, is better to rename it back to openvas-libraries.
2019-02-19 10:24:50 +00:00

14 lines
370 B
Diff

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);