fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / freopen.c
index 7ae116d8d245708dd3f3a6a0a1b1409793e7c5b6..6c1b575f527963566a7b457f29c18dea45b2505a 100644 (file)
@@ -1,4 +1,5 @@
 #include "stdio_impl.h"
+#include <fcntl.h>
 
 /* The basic idea of this implementation is to open a new FILE,
  * hack the necessary parts of the new FILE into the old one, then