diff --git a/unix/file.c b/unix/file.c
index db15f244f01ef756b2766f89f490a680e63df771..813f97fd236f88c71f326968edfd7a6efdab5b78 100644
--- a/unix/file.c
+++ b/unix/file.c
@@ -148,6 +148,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(fdfile_fileno_obj, fdfile_fileno);
 STATIC const mp_arg_t file_open_args[] = {
     { MP_QSTR_file, MP_ARG_OBJ | MP_ARG_REQUIRED, {.u_rom_obj = MP_ROM_PTR(&mp_const_none_obj)} },
     { MP_QSTR_mode, MP_ARG_OBJ, {.u_obj = MP_OBJ_NEW_QSTR(MP_QSTR_r)} },
+    { MP_QSTR_buffering, MP_ARG_OBJ, {.u_rom_obj = MP_ROM_PTR(&mp_const_none_obj)} },
     { MP_QSTR_encoding, MP_ARG_OBJ | MP_ARG_KW_ONLY, {.u_rom_obj = MP_ROM_PTR(&mp_const_none_obj)} },
 };
 #define FILE_OPEN_NUM_ARGS MP_ARRAY_SIZE(file_open_args)
diff --git a/unix/qstrdefsport.h b/unix/qstrdefsport.h
index 3aceb331fd5869b41ac15a61c33f037e1a9b9d5f..36126a3b29abebece6e0a2e91b94a999e265597d 100644
--- a/unix/qstrdefsport.h
+++ b/unix/qstrdefsport.h
@@ -30,6 +30,7 @@ Q(Test)
 
 Q(fileno)
 Q(makefile)
+Q(buffering)
 
 Q(FileIO)
 Q(flush)