summaryrefslogtreecommitdiff
path: root/libf2c/libF77/getenv_.c
diff options
context:
space:
mode:
Diffstat (limited to 'libf2c/libF77/getenv_.c')
-rw-r--r--libf2c/libF77/getenv_.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libf2c/libF77/getenv_.c b/libf2c/libF77/getenv_.c
index b9916e6065e..bc116feb38a 100644
--- a/libf2c/libF77/getenv_.c
+++ b/libf2c/libF77/getenv_.c
@@ -1,5 +1,10 @@
#include "f2c.h"
+#ifndef KR_headers
+#undef abs
+#include <stdlib.h>
+#endif
+
/*
* getenv - f77 subroutine to return environment variables
*