[libc] [llvm] [reland][libc] add epoll_wait functions (PR #79635)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 13:47:48 PST 2024


================
@@ -0,0 +1,19 @@
+//===-- Definition of epoll_event type ------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef __LLVM_LIBC_TYPES_EPOLL_EVENT_H__
+#define __LLVM_LIBC_TYPES_EPOLL_EVENT_H__
+
+#include <llvm-libc-types/struct_epoll_data.h>
----------------
lntue wrote:

Will changing this to `#include "struct_epoll_data.h"` make direct inclusion from `libc/src` folder works for both overlay and full build mode?

https://github.com/llvm/llvm-project/pull/79635


More information about the llvm-commits mailing list