about summary refs log tree commit diff
path: root/libio/ioftell.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/ioftell.c')
-rw-r--r--libio/ioftell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/ioftell.c b/libio/ioftell.c
index 38cb2f3369..e8b6c7a444 100644
--- a/libio/ioftell.c
+++ b/libio/ioftell.c
@@ -24,6 +24,7 @@
    General Public License.  */
 
 #include "libioP.h"
+#include <stdlib.h>
 #include <errno.h>
 /* ANSI explicily requires setting errno to a positive value on failure. */