fix examples for unpolluted libctru headers

This commit is contained in:
Dave Murphy 2014-11-28 21:34:46 +00:00
parent ea97e7a529
commit ac4c183868
5 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <3ds.h>

View File

@ -1,3 +1,6 @@
#include <stdlib.h>
#include <string.h>
#include <3ds.h>
Result http_download(httpcContext *context)//This error handling needs updated with proper text printing once ctrulib itself supports that.

View File

@ -1,4 +1,6 @@
#include <stdio.h>
#include <string.h>
#include <3ds.h>
#include "costable.h"

View File

@ -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 <string.h>
#include <3ds.h>
#include "costable.h"

View File

@ -1,3 +1,5 @@
#include <string.h>
#include <3ds.h>
int main()