aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/libelf
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-05-27 15:49:24 +0100
committerKeir Fraser <keir@xen.org>2011-05-27 15:49:24 +0100
commit6f338af1e1461e2ebfe0528e7a1b5a5fbe12e8fe (patch)
tree3c4444f139adfabd2ae57fe8900816b3154a346f /xen/common/libelf
parentdc74142c5a0300e33c1d478c63d0fbdf06ed49a2 (diff)
downloadxen-6f338af1e1461e2ebfe0528e7a1b5a5fbe12e8fe.tar.gz
xen-6f338af1e1461e2ebfe0528e7a1b5a5fbe12e8fe.tar.bz2
xen-6f338af1e1461e2ebfe0528e7a1b5a5fbe12e8fe.zip
Clean up stdarg handling a little. Fix for NetBSD.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/libelf')
-rw-r--r--xen/common/libelf/libelf-loader.c2
-rw-r--r--xen/common/libelf/libelf-private.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/xen/common/libelf/libelf-loader.c b/xen/common/libelf/libelf-loader.c
index 69871e5aed..1ccf7d35a6 100644
--- a/xen/common/libelf/libelf-loader.c
+++ b/xen/common/libelf/libelf-loader.c
@@ -16,8 +16,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <stdarg.h>
-
#include "libelf-private.h"
/* ------------------------------------------------------------------------ */
diff --git a/xen/common/libelf/libelf-private.h b/xen/common/libelf/libelf-private.h
index e47ff3b8cd..3ef753c1b3 100644
--- a/xen/common/libelf/libelf-private.h
+++ b/xen/common/libelf/libelf-private.h
@@ -40,6 +40,7 @@
#else /* !__XEN__ */
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>