Module Name:    src
Committed By:   bouyer
Date:           Wed Aug 22 20:21:27 UTC 2012

Modified Files:
        src/sys/sys [netbsd-5]: sysctl.h

Log Message:
Apply patch, requested by dsl in ticket 1769:
        sys/sys/sysctl.h                patch
define CTLTYPE_LONG, needed for ticket 1770


To generate a diff of this commit:
cvs rdiff -u -r1.177.4.1 -r1.177.4.2 src/sys/sys/sysctl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/sysctl.h
diff -u src/sys/sys/sysctl.h:1.177.4.1 src/sys/sys/sysctl.h:1.177.4.2
--- src/sys/sys/sysctl.h:1.177.4.1	Wed Apr  1 00:25:22 2009
+++ src/sys/sys/sysctl.h	Wed Aug 22 20:21:26 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: sysctl.h,v 1.177.4.1 2009/04/01 00:25:22 snj Exp $	*/
+/*	$NetBSD: sysctl.h,v 1.177.4.2 2012/08/22 20:21:26 bouyer Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -88,6 +88,12 @@ struct ctlname {
 #define	CTLTYPE_STRUCT	5	/* name describes a structure */
 #define	CTLTYPE_BOOL	6	/* name describes a bool */
 
+#ifdef _LP64
+#define	CTLTYPE_LONG	CTLTYPE_QUAD
+#else
+#define	CTLTYPE_LONG	CTLTYPE_INT
+#endif
+
 /*
  * Flags that apply to each node, governing access and other features
  */

Reply via email to