summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/quad.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 15:18:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 15:18:54 +0000
commit469df96ae09cb8b8700f8167e153694ffa5a0793 (patch)
tree3ecb78d3e22bba035ea065708cfcba3b6ebe400c /sys/lib/libkern/quad.h
parenta637b83cfb9dcc756a7cfe64f933a94bf3afad4c (diff)
switch on _KERNEL to pull in correct headers
Diffstat (limited to 'sys/lib/libkern/quad.h')
-rw-r--r--sys/lib/libkern/quad.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/lib/libkern/quad.h b/sys/lib/libkern/quad.h
index b1b57eea1d0..217b5459e2e 100644
--- a/sys/lib/libkern/quad.h
+++ b/sys/lib/libkern/quad.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: quad.h,v 1.3 1996/04/19 16:09:31 niklas Exp $ */
-/* $NetBSD: quad.h,v 1.6 1996/03/14 18:52:14 christos Exp $ */
+/* $OpenBSD: quad.h,v 1.4 1996/05/01 15:18:48 deraadt Exp $ */
+/* $NetBSD: quad.h,v 1.7 1996/04/18 02:20:04 cgd Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -57,7 +57,11 @@
*/
#include <sys/types.h>
+#ifndef _KERNEL
#include <limits.h>
+#else
+#include <machine/limits.h>
+#endif
/*
* Depending on the desired operation, we view a `long long' (aka quad_t) in