Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include If _CTYPE_PRIVATE, need to include <machine/limits.h...



details:   https://anonhg.NetBSD.org/src/rev/be2c0b3a2d87
branches:  trunk
changeset: 508699:be2c0b3a2d87
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Apr 18 01:45:18 2001 +0000

description:
If _CTYPE_PRIVATE, need to include <machine/limits.h> for CHAR_BIT.

diffstat:

 include/ctype.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 98a5409ce236 -r be2c0b3a2d87 include/ctype.h
--- a/include/ctype.h   Wed Apr 18 01:35:14 2001 +0000
+++ b/include/ctype.h   Wed Apr 18 01:45:18 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ctype.h,v 1.20 2001/04/17 20:09:50 kleink Exp $        */
+/*     $NetBSD: ctype.h,v 1.21 2001/04/18 01:45:18 thorpej Exp $       */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -124,6 +124,8 @@
 #endif
 
 #ifdef _CTYPE_PRIVATE
+#include <machine/limits.h>    /* for CHAR_BIT */
+
 #define _CTYPE_NUM_CHARS       (1 << CHAR_BIT)
 
 #define _CTYPE_ID              "BSDCTYPE"



Home | Main Index | Thread Index | Old Index