[COMMITTED PATCH] gold: missing "libiberty.h" include for vasprintf use.
Roland McGrath
mcgrathr@google.com
Thu Nov 1 18:16:00 GMT 2012
When libiberty rather than the system <stdio.h> is providing the
declaration for vasprintf, there is a compiler warning in gold.
Committed as obvious.
Thanks,
Roland
gold/
2012-11-01 Roland McGrath <mcgrathr@google.com>
* nacl.cc: Include "libiberty.h" for vasprintf declaration.
diff --git a/gold/nacl.cc b/gold/nacl.cc
index 71be4e9..b22248c 100644
--- a/gold/nacl.cc
+++ b/gold/nacl.cc
@@ -22,6 +22,7 @@
#include "gold.h"
#include <cstdio>
+#include "libiberty.h"
#include "nacl.h"
#include "elfcpp.h"
More information about the Binutils
mailing list