Source-Changes-HG archive

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

[src/trunk]: src/sys/sys include limits.h for PATH_MAX. Reported by njoly@.



details:   https://anonhg.NetBSD.org/src/rev/6b5b376cf395
branches:  trunk
changeset: 772779:6b5b376cf395
user:      cegger <cegger%NetBSD.org@localhost>
date:      Mon Jan 16 10:36:16 2012 +0000

description:
include limits.h for PATH_MAX. Reported by njoly@.

diffstat:

 sys/sys/cpuio.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a9b2a894feec -r 6b5b376cf395 sys/sys/cpuio.h
--- a/sys/sys/cpuio.h   Mon Jan 16 09:01:35 2012 +0000
+++ b/sys/sys/cpuio.h   Mon Jan 16 10:36:16 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuio.h,v 1.6 2012/01/13 16:05:16 cegger Exp $ */
+/*     $NetBSD: cpuio.h,v 1.7 2012/01/16 10:36:16 cegger Exp $ */
 
 /*-
  * Copyright (c) 2007, 2009, 2012 The NetBSD Foundation, Inc.
@@ -37,6 +37,7 @@
 #include <sys/ioccom.h>
 
 #ifndef _KERNEL
+#include <limits.h>
 #include <stdbool.h>
 #endif
 



Home | Main Index | Thread Index | Old Index