[Forensics-changes] [yara] 388/407: pe_utils.c: Add missing include for defining struct tm

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.3.0
in repository yara.

commit ff789c03867825123ee4d6f73f0a6cde9fe72e75
Author: Hilko Bengen <bengen at debian.org>
Date:   Sat Feb 7 21:04:51 2015 +0100

    pe_utils.c: Add missing include for defining struct tm
    
    Build failed trying to cross-compile using the MinGW
    toolchain. (mingw-w64-tools 3.2.0-2 on Debian jessie/sid)
---
 libyara/modules/pe_utils.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libyara/modules/pe_utils.c b/libyara/modules/pe_utils.c
index 8ab5e21..5bb250c 100644
--- a/libyara/modules/pe_utils.c
+++ b/libyara/modules/pe_utils.c
@@ -2,6 +2,8 @@
 
 #if !HAVE_TIMEGM
 
+#include <time.h>
+
 static int is_leap(
     unsigned int year)
 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list