summaryrefslogtreecommitdiff
path: root/gdb/lin-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/lin-thread.c')
-rw-r--r--gdb/lin-thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/lin-thread.c b/gdb/lin-thread.c
index 7f54e299540..cd9ab996eb7 100644
--- a/gdb/lin-thread.c
+++ b/gdb/lin-thread.c
@@ -125,6 +125,9 @@
#include <dlfcn.h> /* dynamic library interface */
+/* Prototypes for supply_gregset etc. */
+#include "gregset.h"
+
#ifndef TIDGET
#define TIDGET(PID) (((PID) & 0x7fffffff) >> 16)
#define PIDGET(PID) (((PID) & 0xffff))