mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-07 19:37:00 +08:00
compile for aarch64-arm-gcc 7.5
This commit is contained in:
@@ -65,7 +65,6 @@
|
||||
#include <sys/time.h>
|
||||
#include <linux/vt.h>
|
||||
#include <linux/kd.h>
|
||||
#include <linux/keyboard.h>
|
||||
|
||||
#include "gdi.h"
|
||||
#include "window.h"
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
#include "gal.h"
|
||||
#include "native.h"
|
||||
|
||||
static const char* event_dev;
|
||||
const char* event_dev;
|
||||
|
||||
static int EVENT_Open(const char *);
|
||||
static void EVENT_Close(void);
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <signal.h>
|
||||
#include <linux/kd.h>
|
||||
#include <linux/keyboard.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "common.h"
|
||||
|
||||
@@ -48,7 +48,7 @@ static HCURSOR load_cursor_from_file (const char* filename)
|
||||
{
|
||||
FILE* fp;
|
||||
WORD16 wTemp;
|
||||
int w, h, xhot, yhot, colornum;
|
||||
int w=0, h=0, xhot=0, yhot=0, colornum=0;
|
||||
#if 0
|
||||
DWORD32 size;
|
||||
#endif
|
||||
@@ -152,7 +152,7 @@ static HCURSOR load_cursor_from_mem (const void* area)
|
||||
const Uint8* p = (Uint8*)area;
|
||||
WORD16 wTemp;
|
||||
|
||||
int w, h, xhot, yhot, colornum;
|
||||
int w=0, h=0, xhot=0, yhot=0, colornum=0;
|
||||
#if 0
|
||||
DWORD32 size;
|
||||
#endif
|
||||
|
||||
@@ -69,6 +69,8 @@
|
||||
#include <linux/memfd.h>
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
@@ -59,7 +59,6 @@
|
||||
#include <linux/version.h>
|
||||
#include <linux/vt.h>
|
||||
#include <linux/kd.h>
|
||||
#include <linux/keyboard.h>
|
||||
|
||||
#include "common.h"
|
||||
#include "minigui.h"
|
||||
|
||||
Reference in New Issue
Block a user