summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-31 07:00:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-31 07:00:21 +0000
commit928ff54388f51e49cae22b68ed0c9c84aa83c994 (patch)
tree88e00ab00c308f5a6714842064ee7f9f64ae6ae8
parent95c94bf658e00c15060d87b052a71b849d6666f3 (diff)
downloadgnurl-928ff54388f51e49cae22b68ed0c9c84aa83c994.tar.gz
gnurl-928ff54388f51e49cae22b68ed0c9c84aa83c994.tar.bz2
gnurl-928ff54388f51e49cae22b68ed0c9c84aa83c994.zip
includes setup.h, and thus I could remove the _REENTRANT define
-rw-r--r--lib/getdate.y8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index 12b348d86..32749db59 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -8,18 +8,14 @@
** This code is in the public domain and has no copyright.
*/
+#include "setup.h"
+
#ifdef HAVE_CONFIG_H
# include "config.h"
# ifdef HAVE_ALLOCA_H
# include <alloca.h>
# endif
-# ifdef NEED_REENTRANT
-# define _REENTRANT /* Necessary to use in Solaris, since the silly guys at
- Sun made the localtime_r() prototype dependent on it
- (or _POSIX_C_SOURCE or _POSIX_PTHREAD_SEMANTICS) */
-# endif
-
# ifdef HAVE_TIME_H
# include <time.h>
# endif