sim: drop core libiberty.h include
[deliverable/binutils-gdb.git] / sim / common / sim-io.c
index edef26e8e12360b56e360dcc588b63b2121e3c09..e09a4af7ba2e4dd66935971d09ab874b4914b47a 100644 (file)
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+/* This must come before any other includes.  */
+#include "defs.h"
 
 #include "sim-main.h"
 #include "sim-io.h"
+#include "sim/callback.h"
 #include "targ-vals.h"
 
 #include <errno.h>
@@ -35,6 +38,8 @@
 
 #include <stdlib.h>
 
+#undef open
+
 /* Define the rate at which the simulator should poll the host
    for a quit. */
 #ifndef POLL_QUIT_INTERVAL
This page took 0.022969 seconds and 4 git commands to generate.