From: Nadav Har'El <[email protected]>
Committer: Nadav Har'El <[email protected]>
Branch: master

tests: fix missing include

The test tests/tst-align.cc used intptr_t but forgot to include the
appropriate header file (stdint.h). It got implicitly included on
older versions of stdlibc++ header files, but is no longer the case
in Fedora 38, so let's include the missing header.

Signed-off-by: Nadav Har'El <[email protected]>

---
diff --git a/tests/tst-align.cc b/tests/tst-align.cc
--- a/tests/tst-align.cc
+++ b/tests/tst-align.cc
@@ -20,6 +20,7 @@
 
 #include <stdlib.h>
 #include <malloc.h>
+#include <stdint.h>
 
 static int tests = 0, fails = 0;
 

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/000000000000bf0c7b06052f97bc%40google.com.

Reply via email to