X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fperror.c;h=022f82ddcdbd97c9491c53ccf8c90c23c5d080d4;hp=a5185980dbbb978324858d7732b1d56d856dda79;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hpb=2040228f27d623585d339dec175c4e779ca9edb5 diff --git a/functions/stdio/perror.c b/functions/stdio/perror.c index a518598..022f82d 100644 --- a/functions/stdio/perror.c +++ b/functions/stdio/perror.c @@ -5,12 +5,11 @@ */ #include - -#ifndef REGTEST - #include #include +#ifndef REGTEST + /* TODO: Doing this via a static array is not the way to do it. */ void perror( const char * s ) { @@ -32,7 +31,9 @@ void perror( const char * s ) #endif #ifdef TEST + #include "_PDCLIB_test.h" + #include #include #include