pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/digest/files #include config.h only if HAVE_C...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30b6a0915fd7
branches:  trunk
changeset: 365899:30b6a0915fd7
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Sat Jul 29 14:15:57 2017 +0000

description:
#include config.h only if HAVE_CONFIG_H is defined

diffstat:

 pkgtools/digest/files/whirlpool.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 9cadcd8d8a29 -r 30b6a0915fd7 pkgtools/digest/files/whirlpool.h
--- a/pkgtools/digest/files/whirlpool.h Sat Jul 29 10:00:17 2017 +0000
+++ b/pkgtools/digest/files/whirlpool.h Sat Jul 29 14:15:57 2017 +0000
@@ -1,7 +1,9 @@
 #ifndef PORTABLE_C__
 #define PORTABLE_C__
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 /* Definition of minimum-width integer types
  * 



Home | Main Index | Thread Index | Old Index