]> git.sur5r.net Git - cc65/commitdiff
Made the overlay demo programs compile for CBM targets again.
authorGreg King <gregdk@users.sf.net>
Sun, 19 Jun 2016 21:38:37 +0000 (17:38 -0400)
committerGreg King <gregdk@users.sf.net>
Sun, 19 Jun 2016 21:41:18 +0000 (17:41 -0400)
<conio.h> includes target-specific headers; so, we didn't bother to include <cbm.h> where it is needed.  But, '#include <conio.h>' was removed from some files; so now, we must include <cbm.h> explicitly.

samples/multidemo.c
samples/overlaydemo.c

index 038b74d6416927cad8be04d6ba0e4aab91ca0f9d..396d7344a1b6dfacd9348e3052a5b6314006aeb4 100644 (file)
@@ -20,6 +20,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #else
+#include <cbm.h>
 #include <device.h>
 #endif
 
index a4dc539319bfae671009cde3daa7b2aa8cbe915c..7553f3d0ead6c1aaf21a7210f8f0cc2a9de1179b 100644 (file)
@@ -15,6 +15,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #else
+#include <cbm.h>
 #include <device.h>
 #endif