1 diff --git a/third_party/libsync/src/include/sync/sync.h b/third_party/libsync/src/include/sync/sync.h
2 index 50ed0ac..bc9d567 100644
3 --- a/third_party/libsync/src/include/sync/sync.h
4 +++ b/third_party/libsync/src/include/sync/sync.h
6 #ifndef __SYS_CORE_SYNC_H
7 #define __SYS_CORE_SYNC_H
9 +#if defined(__GLIBC__)
10 #include <sys/cdefs.h>
14 #include <linux/types.h>
21 struct sync_legacy_merge_data {
23 @@ -158,6 +162,8 @@ struct sync_pt_info *sync_pt_info(struct sync_fence_info_data *info,
24 struct sync_pt_info *itr);
25 void sync_fence_info_free(struct sync_fence_info_data *info);
32 #endif /* __SYS_CORE_SYNC_H */