summaryrefslogtreecommitdiff
path: root/lib/posixtm.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-26 10:55:18 +0000
committerJim Meyering <jim@meyering.net>2000-06-26 10:55:18 +0000
commitd68aebe02ca29cea5e49a277bf72c8ac1e23f182 (patch)
treedaf5d9bfd009090f158c0e71f272da9e2df44026 /lib/posixtm.c
parent2e50887eaed12a52825f09608fe57dafeb9bb6f3 (diff)
downloadgnulib-d68aebe02ca29cea5e49a277bf72c8ac1e23f182.tar.gz
[HAVE_STDLIB_H]: Include stdlib.h.
Diffstat (limited to 'lib/posixtm.c')
-rw-r--r--lib/posixtm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/posixtm.c b/lib/posixtm.c
index 062d3a05c7..2c392e4012 100644
--- a/lib/posixtm.c
+++ b/lib/posixtm.c
@@ -1,5 +1,5 @@
/* Parse dates for touch and date.
- Copyright (C) 1989, 1990, 1991, 1998 Free Software Foundation Inc.
+ Copyright (C) 1989, 1990, 1991, 1998, 2000 Free Software Foundation Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -23,6 +23,9 @@
#endif
#include <stdio.h>
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#include <sys/types.h>
#if HAVE_STRING_H
# include <string.h>