summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-08-31 06:50:44 +0000
committerJim Meyering <jim@meyering.net>2001-08-31 06:50:44 +0000
commitfd90d8dbf8895a27814b6d0349b93f9a6a31b495 (patch)
tree7037493122224077eb3f45945af1b6cf3770f33c /src/system.h
parentedbe4553a820a4fdf6bfdb83e1560df7d6d7a778 (diff)
downloadcoreutils-fd90d8dbf8895a27814b6d0349b93f9a6a31b495.tar.xz
* src/remove.c: Move true/false definitions and include from here...
* src/system.h: ...to here.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h
index 582fd7c51..95c6324b3 100644
--- a/src/system.h
+++ b/src/system.h
@@ -1,5 +1,5 @@
/* system-dependent definitions for fileutils, textutils, and sh-utils packages.
- Copyright (C) 1989, 1991-2000 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1991-2001 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
@@ -116,6 +116,12 @@ struct utimbuf
extern int errno;
#endif
+#if HAVE_STDBOOL_H
+# include <stdbool.h>
+#else
+typedef enum {false = 0, true = 1} bool;
+#endif
+
#if HAVE_STDLIB_H
# define getopt system_getopt
# include <stdlib.h>