* gdb/regformats/regdat.sh: Include <stdlib.h>.
diff --git a/ChangeLog.csl b/ChangeLog.csl
index ad11cc1..5a73b69 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,5 +1,9 @@
 2006-01-26  Daniel Jacobowitz  <dan@codesourcery.com>
 
+	* gdb/regformats/regdat.sh: Include <stdlib.h>.
+
+2006-01-26  Daniel Jacobowitz  <dan@codesourcery.com>
+
 	Backport:
 	2006-01-24  Daniel Jacobowitz  <dan@codesourcery.com>
 
diff --git a/gdb/regformats/regdat.sh b/gdb/regformats/regdat.sh
index d779f4d..5698883 100755
--- a/gdb/regformats/regdat.sh
+++ b/gdb/regformats/regdat.sh
@@ -124,6 +124,7 @@
 copyright $1
 echo '#include "regdef.h"'
 echo '#include "regcache.h"'
+echo '#include <stdlib.h>'
 echo
 offset=0
 i=0