[DTrace-devel] [PATCH 03/10] headers: add missing <stdint.h>

Nick Alcock nick.alcock at oracle.com
Wed Aug 2 13:26:53 UTC 2023


include/dtrace/universal.h uses uint32_t and other <stdint.h> integral
types, so should include <stdint.h>.

Signed-off-by: Nick Alcock <nick.alcock at oracle.com>
---
 include/dtrace/universal.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/dtrace/universal.h b/include/dtrace/universal.h
index 405e517d59e3..d65624899931 100644
--- a/include/dtrace/universal.h
+++ b/include/dtrace/universal.h
@@ -2,7 +2,7 @@
  * Licensed under the Universal Permissive License v 1.0 as shown at
  * http://oss.oracle.com/licenses/upl.
  *
- * Copyright (c) 2009, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2023, Oracle and/or its affiliates. All rights reserved.
  */
 
 /*
@@ -13,6 +13,8 @@
 #ifndef _DTRACE_UNIVERSAL_H_
 #define _DTRACE_UNIVERSAL_H_
 
+#include <stdint.h>
+
 #define	DTRACE_CPUALL		-1	/* all CPUs */
 #define	DTRACE_IDNONE		0	/* invalid probe identifier */
 #define	DTRACE_EPIDNONE		0	/* invalid enabled probe identifier */
-- 
2.41.0.270.g68fa1d84b5




More information about the DTrace-devel mailing list