From f31f7960bd260cb90ffdd766393d51bd85a547d1 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 14 Jul 2017 15:13:02 +0200 Subject: removed stddef.h and limits.h (come with the compiler header files) added a stub stdint.h (only sometimes comes with the compiler) added a guide on cross compiling adapted to cross compilation, for now tcc works --- src/gui/composite_widget.c | 2 +- src/gui/desktop.c | 2 +- src/gui/text_widget.c | 2 +- src/gui/widget.c | 2 +- src/gui/window.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui') diff --git a/src/gui/composite_widget.c b/src/gui/composite_widget.c index 743360f..07056c0 100644 --- a/src/gui/composite_widget.c +++ b/src/gui/composite_widget.c @@ -1,7 +1,7 @@ #include "composite_widget.h" #include "string.h" -#include "stddef.h" +#include static composite_widget_vtable_t const composite_widget_vtable = { { diff --git a/src/gui/desktop.c b/src/gui/desktop.c index 98fb900..9851b78 100644 --- a/src/gui/desktop.c +++ b/src/gui/desktop.c @@ -1,7 +1,7 @@ #include "desktop.h" #include "string.h" -#include "stddef.h" +#include static desktop_vtable_t const desktop_vtable = { { diff --git a/src/gui/text_widget.c b/src/gui/text_widget.c index 49c1be7..5e468c7 100644 --- a/src/gui/text_widget.c +++ b/src/gui/text_widget.c @@ -1,7 +1,7 @@ #include "text_widget.h" #include "string.h" -#include "stddef.h" +#include static text_widget_vtable_t const text_widget_vtable = { { diff --git a/src/gui/widget.c b/src/gui/widget.c index 3620761..58b03ef 100644 --- a/src/gui/widget.c +++ b/src/gui/widget.c @@ -1,7 +1,7 @@ #include "widget.h" #include "string.h" -#include "stddef.h" +#include static widget_vtable_t const widget_vtable = { widget_draw, diff --git a/src/gui/window.c b/src/gui/window.c index 80c0b6c..fd53920 100644 --- a/src/gui/window.c +++ b/src/gui/window.c @@ -1,7 +1,7 @@ #include "window.h" #include "string.h" -#include "stddef.h" +#include static window_vtable_t const window_vtable = { { -- cgit v1.2.3-54-g00ecf