Make more compatibility improvements

This commit is contained in:
Justine Tunney 2022-09-06 07:04:13 -07:00
parent 12d9e1e128
commit 55c6297e13
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
63 changed files with 513 additions and 80 deletions

4
libc/isystem/byteswap.h Normal file
View file

@ -0,0 +1,4 @@
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_BYTESWAP_H_
#define COSMOPOLITAN_LIBC_ISYSTEM_BYTESWAP_H_
#include "libc/intrin/bswap.h"
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_BYTESWAP_H_ */

View file

@ -0,0 +1,4 @@
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_XATTR_H_
#define COSMOPOLITAN_LIBC_ISYSTEM_SYS_XATTR_H_
#include "libc/calls/xattr.h"
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_XATTR_H_ */

View file

@ -1,4 +1,5 @@
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_LOCALE_H_
#define COSMOPOLITAN_LIBC_ISYSTEM_LOCALE_H_
#include "libc/str/locale.h"
#include "libc/str/unicode.h"
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_LOCALE_H_ */

7
libc/isystem/net/if.h Normal file
View file

@ -0,0 +1,7 @@
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_NET_IF_H_
#define COSMOPOLITAN_LIBC_ISYSTEM_NET_IF_H_
#include "libc/sock/if.h"
#include "libc/sock/struct/ifconf.h"
#include "libc/sock/struct/ifreq.h"
#include "libc/sysv/consts/iff.h"
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_NET_IF_H_ */

View file

@ -1,6 +1,7 @@
#ifndef LIBC_ISYSTEM_SCHED_H_
#define LIBC_ISYSTEM_SCHED_H_
#include "libc/calls/calls.h"
#include "libc/calls/struct/cpuset.h"
#include "libc/calls/struct/sched_param.h"
#include "libc/sysv/consts/sched.h"
#endif

6
libc/isystem/sys/event.h Normal file
View file

@ -0,0 +1,6 @@
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_EVENT_H_
#define COSMOPOLITAN_LIBC_ISYSTEM_SYS_EVENT_H_
/* eventfd() is meh */
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_EVENT_H_ */

View file

@ -3,6 +3,7 @@
#include "libc/calls/calls.h"
#include "libc/calls/struct/stat.h"
#include "libc/calls/struct/stat.macros.h"
#include "libc/calls/struct/timespec.h"
#include "libc/calls/weirdtypes.h"
#include "libc/sysv/consts/s.h"
#include "libc/sysv/consts/utime.h"

View file

@ -0,0 +1,4 @@
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_SYS_STATFS_H_
#define COSMOPOLITAN_LIBC_ISYSTEM_SYS_STATFS_H_
#include "libc/calls/struct/statfs.h"
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_SYS_STATFS_H_ */

View file

@ -1,4 +1,5 @@
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_STATVFS_H_
#define COSMOPOLITAN_LIBC_ISYSTEM_STATVFS_H_
#include "libc/calls/struct/statvfs.h"
#include "libc/sysv/consts/st.h"
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_STATVFS_H_ */

View file

@ -1,5 +1,6 @@
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_TERMIOS_H_
#define COSMOPOLITAN_LIBC_ISYSTEM_TERMIOS_H_
#include "libc/calls/termios.h"
#include "libc/sysv/consts/baud.h"
#include "libc/sysv/consts/termios.h"
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_TERMIOS_H_ */