Skip to content

Commit 0bddaa0

Browse files
authored
Don't include wasip2.h in public headers (#649)
Defines too many symbols for downstream consumers (fails Python's build)
1 parent 1e1c771 commit 0bddaa0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libc-bottom-half/headers/public/__header_time.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
#include <__struct_tm.h>
1111
#include <__typedef_clockid_t.h>
1212

13-
#ifdef __wasilibc_use_wasip2
14-
#include <wasi/wasip2.h>
15-
#else
13+
#ifndef __wasilibc_use_wasip2
1614
#include <wasi/api.h>
1715
#endif
1816

0 commit comments

Comments
 (0)