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