laforge has submitted this change. (
https://gerrit.osmocom.org/c/libosmocore/+/38443?usp=email )
Change subject: utils: fix lost inttypes mess for embedded builds
......................................................................
utils: fix lost inttypes mess for embedded builds
Oh no, again? Yes, this, again.
Change-Id: I412f5813d566cf71f3e44c3c1dc16200fa518a47
---
M src/core/utils.c
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/core/utils.c b/src/core/utils.c
index 1ec940d..5757b52 100644
--- a/src/core/utils.c
+++ b/src/core/utils.c
@@ -25,6 +25,14 @@
#include <stdint.h>
#include <errno.h>
#include <stdio.h>
+#if !defined(PRId64) || !defined(PRIu64)
+/*
+it gets lost every few years..
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953844
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067692
+*/
+#include <sys/types.h>
+#endif
#include <inttypes.h>
#include <limits.h>
--
To view, visit
https://gerrit.osmocom.org/c/libosmocore/+/38443?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I412f5813d566cf71f3e44c3c1dc16200fa518a47
Gerrit-Change-Number: 38443
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>