From: hackbard Date: Tue, 10 Jun 2003 00:09:30 +0000 (+0000) Subject: - X-Git-Tag: fpb~41 X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9ff98224b398a4bc39ebbe23728b6e296bcf605;p=physik%2Fnlsop.git - --- diff --git a/dfbapi.h b/dfbapi.h index a2a37a9..8ffacc8 100644 --- a/dfbapi.h +++ b/dfbapi.h @@ -8,7 +8,9 @@ #ifndef DFBAPI_H #define DFBAPI_H +#ifdef USE_DFB_API #include +#endif /* two dimensional lattice */ diff --git a/nlsop.c b/nlsop.c index f2acfb4..dc08533 100644 --- a/nlsop.c +++ b/nlsop.c @@ -524,6 +524,7 @@ int main(int argc,char **argv) puts("NODFB defined, run with -S option"); return -1; } +#endif if(!strcmp(r_file,"")) rand_init(NULL); else rand_init(r_file);