aboutsummaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r--gdb/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index 7a2d0db..6f443f1 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -23,7 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "dcache.h"
#include "gdbcmd.h"
-#ifdef __STDC__
+#if defined(__STDC__) && defined(__linux__)
/* In case the system header files define a prototype for insque and
remque that uses a pointer to a struct qelem, silence the warnings */
struct qelem;