Fix build break

This commit is contained in:
Justine Tunney 2023-01-08 15:35:08 -08:00
parent 2bad436abf
commit be3e109309
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/sysv/consts/o.h"
#include "libc/sysv/errfuns.h"
static const char *fixpathname(const char *pathname, int flags) {
if ((flags & O_ACCMODE) == O_RDONLY && strcmp(pathname, "-") == 0) {