aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenpaging
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@entel.upc.edu>2012-01-05 14:35:38 +0000
committerRoger Pau Monne <roger.pau@entel.upc.edu>2012-01-05 14:35:38 +0000
commit3302c64fd534fe3243cf327c88b03f421cb70cf4 (patch)
tree595be4c21eb5f2eb9fa1680c612d842eb7c0a428 /tools/xenpaging
parentb4799791c1e88341688142408051e65867bcdf82 (diff)
downloadxen-3302c64fd534fe3243cf327c88b03f421cb70cf4.tar.gz
xen-3302c64fd534fe3243cf327c88b03f421cb70cf4.tar.bz2
xen-3302c64fd534fe3243cf327c88b03f421cb70cf4.zip
xenpaging: remove _XOPEN_SOURCE
The _XOPEN_SOURCE define was breaking the compilation under NetBSD. I've removed it becasue it is not necessary. Error message: gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .xenpaging.o.d -fno-optimize-sibling-calls -I/root/xen-04102011/tools/xenpaging/../../tools/libxc -I/root/xen-04102011/tools/xenpaging/../../tools/include -I/root/xen-04102011/tools/xenpaging/../../tools/xenstore -I/root/xen-04102011/tools/xenpaging/../../tools/include -Werror -Wno-unused -g -c -o xenpaging.o xenpaging.c -I/usr/xen42/include -I/usr/include cc1: warnings being treated as errors xenpaging.c: In function 'xenpaging_init': xenpaging.c:333: warning: implicit declaration of function 'asprintf' Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenpaging')
-rw-r--r--tools/xenpaging/xenpaging.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c
index 5784d0b160..c7f153ef89 100644
--- a/tools/xenpaging/xenpaging.c
+++ b/tools/xenpaging/xenpaging.c
@@ -18,7 +18,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define _XOPEN_SOURCE 600
#define _GNU_SOURCE
#include <inttypes.h>