Hi, saw this in DirectFB-0.9.20. The directfb.h file includes dfb_types.h and directfb_keyboard.h as:

#include <dfb_types.h>
...
#include <directfb_keyboard.h>

Now, that works with the -I flag to specify the path to the directfb sub-directory, but if you don't want to use -I (for example, sys-root based cross-compile systems), then the directfb.h file won't pick up the other header files in the directfb/ subdirectory.

If the includes are changed to:

#include "dfb_types.h"
...
#include "directfb_keyboard"

Then this will work (compiler finds the other files). Is this OK, or an issue with various compilers?

--Kent








--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.




Reply via email to