Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses need limits.h



details:   https://anonhg.NetBSD.org/src/rev/78868c0b2ab8
branches:  trunk
changeset: 1022941:78868c0b2ab8
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 15 11:54:12 2021 +0000

description:
need limits.h

diffstat:

 lib/libcurses/slk.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 6a55a1e61a40 -r 78868c0b2ab8 lib/libcurses/slk.c
--- a/lib/libcurses/slk.c       Sun Aug 15 11:44:39 2021 +0000
+++ b/lib/libcurses/slk.c       Sun Aug 15 11:54:12 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: slk.c,v 1.12 2021/08/15 11:44:39 christos Exp $        */
+/*     $NetBSD: slk.c,v 1.13 2021/08/15 11:54:12 christos Exp $        */
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -31,12 +31,13 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: slk.c,v 1.12 2021/08/15 11:44:39 christos Exp $");
+__RCSID("$NetBSD: slk.c,v 1.13 2021/08/15 11:54:12 christos Exp $");
 #endif                         /* not lint */
 
 #include <ctype.h>
 #include <stdlib.h>
 #include <string.h>
+#include <limits.h>
 #ifdef HAVE_WCHAR
 #include <wctype.h>
 #endif



Home | Main Index | Thread Index | Old Index