summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sounddevice_build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sounddevice_build.py b/sounddevice_build.py
index c16e092..290dcfd 100644
--- a/sounddevice_build.py
+++ b/sounddevice_build.py
@@ -313,8 +313,8 @@ ffibuilder.cdef("""
/* from stdio.h */
FILE* fopen(const char* path, const char* mode);
int fclose(FILE* fp);
- FILE* stderr; /* GNU C library */
- FILE* __stderrp; /* macOS */
+ extern FILE* stderr; /* GNU C library */
+ extern FILE* __stderrp; /* macOS */
""")
if __name__ == '__main__':