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
commit204a9ee1152b2652dfbdb721e71f74f04bb30dce (patch)
tree21fda258f5f96b38096e59a1c4e154129941ccbd /lib/posixtm.c
parent43c77218e486f7f63f804c1b4d78d5b586476e18 (diff)
downloadcoreutils-204a9ee1152b2652dfbdb721e71f74f04bb30dce.tar.xz
[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 062d3a05c..2c392e401 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>