projects
/
platform
/
upstream
/
cmocka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f0bfe
)
include: Protect config.h inclusion
author
Andreas Schneider
<asn@cryptomilk.org>
Tue, 4 Aug 2015 17:32:28 +0000
(19:32 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 4 Aug 2015 17:32:28 +0000
(19:32 +0200)
Thanks to Gregory Pakosz.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
include/cmocka_private.h
patch
|
blob
|
history
diff --git
a/include/cmocka_private.h
b/include/cmocka_private.h
index c67f8db210b90ece4fca4c429e226c5bf0392962..d20d841aed564f774ec441867a838709d4e1ba0f 100644
(file)
--- a/
include/cmocka_private.h
+++ b/
include/cmocka_private.h
@@
-17,7
+17,9
@@
#ifndef CMOCKA_PRIVATE_H_
#define CMOCKA_PRIVATE_H_
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdint.h>