]> pd.if.org Git - pdclib/blobdiff - functions/stdio/flockfile.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / stdio / flockfile.c
index 4e80daf589b66a2563c44b704f6ea8a5a5943e93..c37699b91e2d5dcb516da7a011b09ae238cb8974 100644 (file)
@@ -8,10 +8,11 @@
 #include <stdarg.h>\r
 \r
 #ifndef REGTEST\r
+#include "_PDCLIB_io.h"\r
 #include <threads.h>\r
 #include <stdlib.h>\r
 \r
-void flockfile( FILE * file )\r
+void _PDCLIB_flockfile( FILE * file )\r
 {\r
     if( mtx_lock( &file->lock ) != thrd_success ) {\r
         abort();\r
@@ -21,7 +22,7 @@ void flockfile( FILE * file )
 #endif\r
 \r
 #ifdef TEST\r
-#include <_PDCLIB_test.h>\r
+#include "_PDCLIB_test.h"\r
 \r
 int main( void )\r
 {\r