del-examples: move down linux exported headers

Some of those headers (e.g. mxcfb.h) refert to types that are defined in
'sys/types.h'.

Fix error: unknown type name 'uint'

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2013-02-12 16:50:20 +01:00
parent 7aed3c49b9
commit 3505e019a1
1 changed files with 5 additions and 4 deletions

View File

@ -20,10 +20,6 @@
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <linux/fb.h>
#include <linux/ipu.h>
#include <linux/mxcfb.h>
#include <linux/videodev.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@ -34,6 +30,11 @@
#include <sys/types.h>
#include <unistd.h>
#include <linux/fb.h>
#include <linux/ipu.h>
#include <linux/mxcfb.h>
#include <linux/videodev.h>
#define fourcc(a,b,c,d)\
(((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))