tools/gdbsx: fix build failure with glibc-2.17
PATCH 1/1 tools/gdbsx: fix build failure with glibc-2.17
# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1354786108 -3600
# Node ID 5dab922f04f4790b70d43d062114bddcc1bb7de6 # Parent 670b07e8d7382229639af0d1df30071e6c1ebb19 tools/gdbsx: fix build failure with glibc-2.17
[ 1029s] xg_main.c: In function '_domctl_hcall':
[ 1029s] xg_main.c:181:52: error: 'ulong' undeclared (first use in this function)
[ 1029s] xg_main.c:181:52: note: each undeclared identifier is reported only once for each function it appears in [ 1029s] xg_main.c: In function '_check_hyp':
[ 1029s] xg_main.c:221:52: error: 'ulong' undeclared (first use in this function)
[ 1029s] make[4]: *** [xg_main.o] Error 1
Signed-off-by Olaf Hering <[email protected]>
tools/debugger/gdbsx/xg/xg_main.c +1 -0
@@ -34,6 +34,7 @@* XGTRC(): generic trace utility */ +#include <sys/types.h> #include <stdio.h> #include <stddef.h> #include <stdarg.h>