This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix v850 simops.c compilation problem
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 18 Jan 2004 15:56:44 +0100 (CET)
- Subject: [PATCH] Fix v850 simops.c compilation problem
Some time ago I decided to build the v850. The sim didn't build since
on FreeBSD we need to include <sys/types.h> before <utime.h>.
Checked in as obvious,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* simops.c: Include <sys/types.h>.
Index: simops.c
===================================================================
RCS file: /cvs/src/src/sim/v850/simops.c,v
retrieving revision 1.7
diff -u -p -r1.7 simops.c
--- simops.c 6 Apr 2003 08:51:04 -0000 1.7
+++ simops.c 18 Jan 2004 14:56:10 -0000
@@ -2,6 +2,8 @@
#include "v850_sim.h"
#include "simops.h"
+#include <sys/types.h>
+
#ifdef HAVE_UTIME_H
#include <utime.h>
#endif