Skip to content

Commit

Permalink
Move include stdint.h to forward declaration, since it is needed there.
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed Nov 30, 2022
1 parent 4fb5ae2 commit 368de15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/lib_webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#ifdef __EMSCRIPTEN__
#include <emscripten/html5.h>
#endif
#include <stdint.h>

#ifdef __clang__
// The internal struct member offset layout is extremely important when marshalling structs to JS,
Expand Down
2 changes: 2 additions & 0 deletions lib/lib_webgpu_fwd.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit 368de15

Please sign in to comment.