diff --git a/src/cc/dapps/oraclefeed.c b/src/cc/dapps/oraclefeed.c index f07a45959..ce67f7805 100644 --- a/src/cc/dapps/oraclefeed.c +++ b/src/cc/dapps/oraclefeed.c @@ -16,6 +16,7 @@ #include #include #include +#include #include "cJSON.c" char *nonportable_path(char *str) @@ -55,7 +56,7 @@ void *loadfile(char *fname,uint8_t **bufp,long *lenp,long *allocsizep) long filesize,buflen = *allocsizep; uint8_t *buf = *bufp; *lenp = 0; - if ( (fp= fopen(compatible_path(fname),"rb")) != 0 ) + if ( (fp= fopen(portable_path(fname),"rb")) != 0 ) { fseek(fp,0,SEEK_END); filesize = ftell(fp);