[Forensics-changes] [yara] 52/192: Move #include out of #ifdef

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:45 UTC 2017


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

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

commit d348dd37d4dc013b8066ed90208aa96fb2da2b07
Author: plusvic <plusvic at gmail.com>
Date:   Thu Oct 20 17:32:19 2016 +0200

    Move #include out of  #ifdef
---
 .gitignore                   | 1 +
 libyara/include/yara/utils.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 59136e8..2754b46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -74,6 +74,7 @@ x64/
 *.sdf
 *.opendb
 *.opensdf
+*.VC.db
 
 # NuGet
 windows/*/packages/
diff --git a/libyara/include/yara/utils.h b/libyara/include/yara/utils.h
index 46847f8..cdf5ae4 100644
--- a/libyara/include/yara/utils.h
+++ b/libyara/include/yara/utils.h
@@ -32,6 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define YR_UTILS_H
 
 #include <config.h>
+#include <limits.h>
 
 #ifndef TRUE
 #define TRUE 1
@@ -106,7 +107,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #else
 
 #include <stdlib.h>
-#include <limits.h>
 
 #define assertf(expr, msg, ...) \
     if(!(expr)) { \

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