fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / __fopen_rb_ca.c
index a1b1b3b6ece7fb93d1f1d50606dca216dc54eb10..9202c8ce5c1423b33bdfc571cd93d16db2d4af5b 100644 (file)
@@ -1,4 +1,6 @@
 #include "stdio_impl.h"
+#include <fcntl.h>
+#include <string.h>
 
 FILE *__fopen_rb_ca(const char *filename, FILE *f, unsigned char *buf, size_t len)
 {