Make some system call fixes

- Fix minor ABI issue with SIOCGIFCONF
- Fix ABI translation issues with statfs() on BSDs
- Fix SQLite angled header line
This commit is contained in:
Justine Tunney 2023-02-12 22:16:34 -08:00
parent 0eb621f75e
commit 2b6261a52d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
11 changed files with 88 additions and 37 deletions

View file

@ -11,7 +11,8 @@ COSMOPOLITAN_C_START_
* must know all networks accessible).
*/
struct ifconf {
uint64_t ifc_len; /* size of buffer */
int32_t ifc_len; /* size of buffer */
int32_t padding;
union {
char *ifcu_buf;
struct ifreq *ifcu_req;