Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2013 00:50:12 GMT
From:      Jonathan Anderson <jonathan@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 231360 for review
Message-ID:  <201307230050.r6N0oCS7010171@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@231360?ac=10

Change 231360 by jonathan@jonathan-on-zenith on 2013/07/23 00:49:20

	Use sys/limits.h in the kernel, not limits.h.
	
	This has a feeling of deja vu; I've definitely made a change like this in the past day or two.

Affected files ...

.. //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/include/tesla.h#8 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/include/tesla.h#8 (text+ko) ====

@@ -73,7 +73,11 @@
 #ifdef	__TESLA_ANALYSER__
 
 #include <sys/types.h>
+#ifdef _KERNEL
+#include <sys/limits.h>
+#else
 #include <limits.h>
+#endif
 
 /**
  * TESLA events can be serialised either with respect to the current thread



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307230050.r6N0oCS7010171>