summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-03 10:59:44 +0000
committerJim Meyering <jim@meyering.net>2000-12-03 10:59:44 +0000
commit4f96dfa43e223ac51a5ea2acc303d036d0a1313f (patch)
tree019ded214bf582e07c4db2a7b0e492a3e69b19db /src
parentf559a4afa3ae536087e27e60aa9b5035adbe9a19 (diff)
downloadcoreutils-4f96dfa43e223ac51a5ea2acc303d036d0a1313f.tar.xz
(CHAR_BIT): Define.
Diffstat (limited to 'src')
-rw-r--r--src/sys2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index c1fa63408..b7afd5822 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -547,6 +547,10 @@ enum
# define PID_T_MAX TYPE_MAXIMUM (pid_t)
#endif
+#ifndef CHAR_BIT
+# define CHAR_BIT 8
+#endif
+
/* Use this to suppress gcc's `...may be used before initialized' warnings. */
#ifdef lint
# define IF_LINT(Code) Code