aboutsummaryrefslogtreecommitdiffstats
path: root/libc/stdio/fopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fopen.c')
-rw-r--r--libc/stdio/fopen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdio/fopen.c b/libc/stdio/fopen.c
index a6cddd306..6d2d882c8 100644
--- a/libc/stdio/fopen.c
+++ b/libc/stdio/fopen.c
@@ -31,6 +31,8 @@
* SUCH DAMAGE.
*/
+#define __USE_BSD
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>