aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/watch-nonstop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.mi/watch-nonstop.c')
-rw-r--r--gdb/testsuite/gdb.mi/watch-nonstop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/watch-nonstop.c b/gdb/testsuite/gdb.mi/watch-nonstop.c
index 3f8a18c..ea4406b 100644
--- a/gdb/testsuite/gdb.mi/watch-nonstop.c
+++ b/gdb/testsuite/gdb.mi/watch-nonstop.c
@@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include <unistd.h>
+
int global;
int main ()