summaryrefslogtreecommitdiff
path: root/gdb/regformats/regdat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/regformats/regdat.sh')
-rwxr-xr-xgdb/regformats/regdat.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/regformats/regdat.sh b/gdb/regformats/regdat.sh
index d779f4d6954..5698883c36a 100755
--- a/gdb/regformats/regdat.sh
+++ b/gdb/regformats/regdat.sh
@@ -124,6 +124,7 @@ exec > new-$2
copyright $1
echo '#include "regdef.h"'
echo '#include "regcache.h"'
+echo '#include <stdlib.h>'
echo
offset=0
i=0