aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bun.js/webcore/streams.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/webcore/streams.zig b/src/bun.js/webcore/streams.zig
index 07e792fe0..f5d2be92e 100644
--- a/src/bun.js/webcore/streams.zig
+++ b/src/bun.js/webcore/streams.zig
@@ -3386,7 +3386,7 @@ pub const FileBlobLoader = struct {
// macOS FIONREAD doesn't seem to work here
// but we can get this information from the kqueue callback so we don't need to
if (len == 0) {
- const FIONREAD = if (Environment.isLinux) std.os.FIONREAD else bun.C.FIONREAD;
+ const FIONREAD = if (Environment.isLinux) std.os.linux.FIONREAD else bun.C.FIONREAD;
const rc: c_int = std.c.ioctl(this.fd, FIONREAD, &len);
if (rc != 0) {
len = 0;