X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=dfbapi.h;h=c57070a04a097dfdaa4ae2a3346b725ea4dac4c8;hb=1af2963509e2b61055c6c1377fe1d2ef94804bf1;hp=a2a37a98cc214cbdc9d528b0031ea3306a00f08c;hpb=fd74c3d7003b61f0680a3272a6657a1a7913f42d;p=physik%2Fnlsop.git diff --git a/dfbapi.h b/dfbapi.h index a2a37a9..c57070a 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 */ @@ -34,7 +36,7 @@ typedef struct __d2_lattice IDirectFBInputDevice *keyboard; IDirectFBEventBuffer *k_buffer; #else - char *foo1,*foo2,foo3,foo4; + char *foo1,*foo2,*foo3,*foo4,*foo5; #endif } d2_lattice; @@ -56,7 +58,7 @@ typedef struct __d3_lattice IDirectFBInputDevice *keyboard; IDirectFBEventBuffer *k_buffer; #else - char *foo1,*foo2,foo3,foo4; + char *foo1,*foo2,foo3,foo4,foo5; #endif } d3_lattice;