Quoting Sven Neumann:
> The correct fix for this problem is to rename the "include" directory
> in the DirectFB source tree to "directfb" and include the headers using
> 
> #include <directfb/dfb_types.h>
> ...
> #include <directfb/directfb_keyboard>
> 
> 
> Dok, what do you think about this change?

Why does it need to be changed in the source tree? All sources are built
using "-I($top_srcdir)/include", so it should be no problem there.

Applications shouldn't be built without an "-I" to the installed files.
Including <directfb/directfb.h> in DirectFB applications is like including
<gtk-2.0/gtk/gtk.h> in GTK applications.

Keeping the requirement of using CFLAGS provided by directfb.pc or
directfb-config allows us to change the include directory easily.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


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

Reply via email to