aboutsummaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-02-15 22:57:53 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-02-15 22:57:53 +0000
commitfed9a8d46e94d6f563d8847c86d8ce5462f226fe (patch)
tree48c3beb1a2c2d2f5ef71723a99bc96be53b16aaf /gdb/dcache.c
parent9c79b8b5eb90bfb10123e8eb9de9548af24cf33e (diff)
downloadgdb-fed9a8d46e94d6f563d8847c86d8ce5462f226fe.zip
gdb-fed9a8d46e94d6f563d8847c86d8ce5462f226fe.tar.gz
gdb-fed9a8d46e94d6f563d8847c86d8ce5462f226fe.tar.bz2
Only protect insque/remque on Linux.
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;