summaryrefslogtreecommitdiff
path: root/lib/posixtm.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-06 19:18:54 +0000
committerJim Meyering <jim@meyering.net>2003-06-06 19:18:54 +0000
commit6d1208ecf23d758f89eb87a476171154190d8ed3 (patch)
tree074f51f6b297ee92ddd0b752cf3a3c306c03d1c2 /lib/posixtm.c
parent271dade11dc189ff3f019318546d61f5a7863b2d (diff)
downloadcoreutils-6d1208ecf23d758f89eb87a476171154190d8ed3.tar.xz
Include <stdbool.h> unconditionally.
Diffstat (limited to 'lib/posixtm.c')
-rw-r--r--lib/posixtm.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/posixtm.c b/lib/posixtm.c
index 41c00ad67..49e239c88 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, 2000-2002 Free Software Foundation Inc.
+ Copyright (C) 1989, 1990, 1991, 1998, 2000-2003 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
@@ -22,11 +22,7 @@
# include <config.h>
#endif
-#if HAVE_STDBOOL_H
-# include <stdbool.h>
-#else
-typedef enum {false = 0, true = 1} bool;
-#endif
+#include <stdbool.h>
#include <stdio.h>
#if HAVE_STDLIB_H