Merge branch 'netdb-trailer' into 'master'

add include guard to netdb cbindgen trailer

See merge request redox-os/relibc!1228
This commit is contained in:
Jeremy Soller
2026-04-27 06:55:16 -06:00
+6 -1
View File
@@ -2,8 +2,13 @@
sys_includes = ["netinet/in.h", "features.h"]
include_guard = "_RELIBC_NETDB_H"
trailer = """
#ifndef _RELIBC_BITS_NETDB_H
#define _RELIBC_BITS_NETDB_H
#define h_errno (*__h_errno_location())
# define h_addr h_addr_list[0] /* Address, for backward compatibility.*/
#define h_addr h_addr_list[0] /* Address, for backward compatibility.*/
#endif // _RELIBC_BITS_NETDB_H
"""
language = "C"
style = "Tag"