aboutsummaryrefslogtreecommitdiff
path: root/libc/include/llvm-libc-macros/sys-socket-macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/llvm-libc-macros/sys-socket-macros.h')
-rw-r--r--libc/include/llvm-libc-macros/sys-socket-macros.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/include/llvm-libc-macros/sys-socket-macros.h b/libc/include/llvm-libc-macros/sys-socket-macros.h
new file mode 100644
index 000000000000..6b1d28070b43
--- /dev/null
+++ b/libc/include/llvm-libc-macros/sys-socket-macros.h
@@ -0,0 +1,16 @@
+//===-- Macros defined in sys/socket.h header file ------------------------===//
+//
+// 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_MACROS_SYS_SOCKET_MACROS_H
+#define LLVM_LIBC_MACROS_SYS_SOCKET_MACROS_H
+
+#ifdef __linux__
+#include "linux/sys-socket-macros.h"
+#endif
+
+#endif // LLVM_LIBC_MACROS_SYS_SOCKET_MACROS_H