diff --git a/Cython/Includes/libc/stdio.pxd b/Cython/Includes/libc/stdio.pxd
index d640c0b436e44a5733152bd266991d486c52a644..93bab2f0f31de4a36ea8f642e28bd74da8da5a00 100644
--- a/Cython/Includes/libc/stdio.pxd
+++ b/Cython/Includes/libc/stdio.pxd
@@ -16,6 +16,7 @@ cdef extern from "stdio.h" nogil:
     enum: FILENAME_MAX
     FILE *fopen   (const char *filename, const char  *opentype)
     FILE *freopen (const char *filename, const char *opentype, FILE *stream)
+    FILE *fdopen  (int fdescriptor, const char *opentype)
     int  fclose   (FILE *stream)
     int  remove   (const char *filename)
     int  rename   (const char *oldname, const char *newname)