-
authorhackbard <hackbard>
Tue, 10 Jun 2003 00:09:30 +0000 (00:09 +0000)
committerhackbard <hackbard>
Tue, 10 Jun 2003 00:09:30 +0000 (00:09 +0000)
dfbapi.h
nlsop.c

index a2a37a9..8ffacc8 100644 (file)
--- a/dfbapi.h
+++ b/dfbapi.h
@@ -8,7 +8,9 @@
 #ifndef DFBAPI_H
 #define DFBAPI_H
 
+#ifdef USE_DFB_API
 #include <directfb.h>
+#endif
 
 /* two dimensional lattice */
 
diff --git a/nlsop.c b/nlsop.c
index f2acfb4..dc08533 100644 (file)
--- 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);