浏览代码

LibC: Add <sys/poll.h> as an alias for <poll.h>

<poll.h> was originally <sys/poll.h> and some old software like X11
still uses the old path.
Peter Elliott 4 年之前
父节点
当前提交
ee0c6e1b6d
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      Userland/Libraries/LibC/sys/poll.h

+ 9 - 0
Userland/Libraries/LibC/sys/poll.h

@@ -0,0 +1,9 @@
+/*
+ * Copyright (c) 2021, the SerenityOS developers.
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#pragma once
+
+#include <poll.h>