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

Kris Van Hees kris.van.hees at oracle.com
Tue Aug 22 18:23:06 UTC 2023


On Wed, Aug 02, 2023 at 02:26:53PM +0100, Nick Alcock via DTrace-devel wrote:
> 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>

Reviewed-by: Kris Van Hees <kris.van.hees 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