fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / __fdopen.c
index df6ed71d484d49b32a871338675bd0013807979b..59690f6dcb97d3153df9541ccf15421759ba1f6b 100644 (file)
@@ -1,4 +1,10 @@
 #include "stdio_impl.h"
+#include <stdlib.h>
+#include <termios.h>
+#include <sys/ioctl.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <string.h>
 
 FILE *__fdopen(int fd, const char *mode)
 {