Skip to content

Commit

Permalink
headers: add missing <stdint.h>
Browse files Browse the repository at this point in the history
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@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
  • Loading branch information
nickalcock authored and kvanhees committed Sep 11, 2023
1 parent 91b0ab3 commit e6f583f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/dtrace/universal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/

/*
Expand All @@ -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 */
Expand Down

0 comments on commit e6f583f

Please sign in to comment.