summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fakesdio.h3
-rw-r--r--nostdio.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/fakesdio.h b/fakesdio.h
index e07fd60617..374087f5a8 100644
--- a/fakesdio.h
+++ b/fakesdio.h
@@ -15,6 +15,7 @@
#undef fgetpos
#undef fgets
#undef fileno
+#undef flockfile
#undef fopen
#undef fprintf
#undef fputc
@@ -25,6 +26,8 @@
#undef fseek
#undef fsetpos
#undef ftell
+#undef ftrylockfile
+#undef funlockfile
#undef fwrite
#undef getc
#undef getc_unlocked
diff --git a/nostdio.h b/nostdio.h
index 770cf97987..fa7ba990b0 100644
--- a/nostdio.h
+++ b/nostdio.h
@@ -28,6 +28,7 @@ struct _FILE;
#undef fgetpos
#undef fgets
#undef fileno
+#undef flockfile
#undef fopen
#undef fprintf
#undef fputc
@@ -38,6 +39,8 @@ struct _FILE;
#undef fseek
#undef fsetpos
#undef ftell
+#undef ftrylockfile
+#undef funlockfile
#undef fwrite
#undef getc
#undef getc_unlocked