X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=dfbapi.h;h=51786bcff31a11dec37758421fd51ee49ddcc893;hp=a2a37a98cc214cbdc9d528b0031ea3306a00f08c;hb=f271c1142da782420ef76f1f85750949094e4269;hpb=fd74c3d7003b61f0680a3272a6657a1a7913f42d diff --git a/dfbapi.h b/dfbapi.h index a2a37a9..51786bc 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;