socket.h 384 B

12345678910111213
  1. /*
  2. * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. #ifdef LWIP_HDR_LINUX_SYS_SOCKETS_H
  8. /* only if we prefer linux system sockets, include from system paths */
  9. #include_next <sys/socket.h>
  10. #else
  11. /* Include lwip sockets by default */
  12. #include "lwip/sockets.h"
  13. #endif /* LWIP_HDR_LINUX_SYS_SOCKETS_H */