]> pd.if.org Git - pdclib/blobdiff - functions/stdio/ungetc.c
PDCLIB-18: Add _PDCLIB_getchars to _PDCLIB_io.h. Change fread & fgets to go through...
[pdclib] / functions / stdio / ungetc.c
index 2e556ab4f9c16f5985c3bf7929f6c885e9a140c8..4e9388b40d7f3e83094a00331630bf8c2d832f6f 100644 (file)
@@ -31,6 +31,7 @@ int ungetc( int c, struct _PDCLIB_file_t * stream )
 
 #ifdef TEST
 #include <_PDCLIB_test.h>
+#include <stdlib.h>
 
 const char* hellostr = "Hello, world!";