From ac4c1838687cc274966619d0160ee4c6894cb340 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Fri, 28 Nov 2014 21:34:46 +0000 Subject: [PATCH] fix examples for unpolluted libctru headers --- examples/gpu/source/main.c | 1 + examples/http/source/main.c | 3 +++ examples/mvd/source/main.c | 2 ++ examples/sdmc/source/main.c | 1 + template/source/main.c | 2 ++ 5 files changed, 9 insertions(+) diff --git a/examples/gpu/source/main.c b/examples/gpu/source/main.c index 3c177ce..5747637 100644 --- a/examples/gpu/source/main.c +++ b/examples/gpu/source/main.c @@ -9,6 +9,7 @@ #include #include +#include #include #include <3ds.h> diff --git a/examples/http/source/main.c b/examples/http/source/main.c index 3d8e16d..bb93652 100644 --- a/examples/http/source/main.c +++ b/examples/http/source/main.c @@ -1,3 +1,6 @@ +#include +#include + #include <3ds.h> Result http_download(httpcContext *context)//This error handling needs updated with proper text printing once ctrulib itself supports that. diff --git a/examples/mvd/source/main.c b/examples/mvd/source/main.c index b573f88..3908a18 100644 --- a/examples/mvd/source/main.c +++ b/examples/mvd/source/main.c @@ -1,4 +1,6 @@ #include +#include + #include <3ds.h> #include "costable.h" diff --git a/examples/sdmc/source/main.c b/examples/sdmc/source/main.c index e3c6142..c65292f 100644 --- a/examples/sdmc/source/main.c +++ b/examples/sdmc/source/main.c @@ -5,6 +5,7 @@ //this example shows you how to load a binary image file from the SD card and display it on the lower screen //for this to work you should copy test.bin to the root of your SD card //this file was generated with GIMP by saving a 240x320 image to raw RGB +#include #include <3ds.h> #include "costable.h" diff --git a/template/source/main.c b/template/source/main.c index c377493..df717a6 100644 --- a/template/source/main.c +++ b/template/source/main.c @@ -1,3 +1,5 @@ +#include + #include <3ds.h> int main()