aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/gdisp.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-11-21 19:27:08 +1000
committerinmarket <andrewh@inmarket.com.au>2015-11-21 19:27:08 +1000
commitc5a86757bd8309027d50f82d8947250c8e1197e6 (patch)
treef37f1a93fea959e870833022479603cd92702ea4 /src/gdisp/gdisp.h
parenta69849177d6e7d396ea36a8160428e327811729b (diff)
downloaduGFX-c5a86757bd8309027d50f82d8947250c8e1197e6.tar.gz
uGFX-c5a86757bd8309027d50f82d8947250c8e1197e6.tar.bz2
uGFX-c5a86757bd8309027d50f82d8947250c8e1197e6.zip
Make all include paths in ugfx relative.
The only include path now needed is for drivers (in particular GDISP drivers)
Diffstat (limited to 'src/gdisp/gdisp.h')
-rw-r--r--src/gdisp/gdisp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gdisp/gdisp.h b/src/gdisp/gdisp.h
index 5c90a490..e6b56f2a 100644
--- a/src/gdisp/gdisp.h
+++ b/src/gdisp/gdisp.h
@@ -27,7 +27,7 @@
#ifndef _GDISP_H
#define _GDISP_H
-#include "gfx.h"
+#include "../../gfx.h"
/* This type definition is defined here as it gets used in other gfx sub-systems even
* if GFX_USE_GDISP is FALSE.
@@ -153,6 +153,7 @@ extern GDisplay *GDISP;
// Pull in the default hardware configuration for a single controller.
// If we have multiple controllers the settings must be set in the
// users gfxconf.h file.
+ // Use the compiler include path to find it
#include "gdisp_lld_config.h"
// Unless the user has specified a specific pixel format, use