cmocka: add another missing include.

This commit is contained in:
Jerome Duval
2018-09-26 12:11:40 +02:00
parent f47dfb58cc
commit 84223227b8
2 changed files with 16 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ COPYRIGHT="2008 Google Inc.
2014-2018 Andreas Schneider
2015 Jakub Hrozek"
LICENSE="Apache v2"
REVISION="3"
REVISION="4"
SOURCE_URI="https://cmocka.org/files/${portVersion%.*}/cmocka-$portVersion.tar.xz"
CHECKSUM_SHA256="d11cd1e129827ff240a501c1c43557e808de89e8fcd8ab9e963c8db419332bdd"
PATCHES="cmocka-$portVersion.patchset"

View File

@@ -1,4 +1,4 @@
From 3dfa4f45ed8cce83c5b69aaf0c3ff90376bba5e3 Mon Sep 17 00:00:00 2001
From 6ebcd43865726887423c69601875ab912e133c72 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 26 Sep 2018 11:19:25 +0200
Subject: [PATCH] include missing stdint.h
@@ -6,8 +6,9 @@ Subject: [PATCH] include missing stdint.h
---
example/calculator_test.c | 1 +
example/chef_wrap/waiter_test_wrap.c | 1 +
example/customer_database_test.c | 1 +
example/product_database_test.c | 1 +
3 files changed, 3 insertions(+)
4 files changed, 4 insertions(+)
diff --git a/example/calculator_test.c b/example/calculator_test.c
index ab8cad8..655c835 100644
@@ -33,6 +34,18 @@ index 4146818..1f52111 100644
#include <setjmp.h>
#include <cmocka.h>
diff --git a/example/customer_database_test.c b/example/customer_database_test.c
index 45ec782..172daca 100644
--- a/example/customer_database_test.c
+++ b/example/customer_database_test.c
@@ -15,6 +15,7 @@
*/
#include <stdarg.h>
#include <stddef.h>
+#include <stdint.h>
#include <setjmp.h>
#include <cmocka.h>
#include <database.h>
diff --git a/example/product_database_test.c b/example/product_database_test.c
index e09eeab..b66450e 100644
--- a/example/product_database_test.c