summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-events.c')
-rw-r--r--gdb/testsuite/gdb.python/py-events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-events.c b/gdb/testsuite/gdb.python/py-events.c
index 17e9f21adc6..2dabdbdb8fd 100644
--- a/gdb/testsuite/gdb.python/py-events.c
+++ b/gdb/testsuite/gdb.python/py-events.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>
+
extern void do_nothing (void);
int second(){