[Top][All Lists]

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

Re: emacs-24.2.93 build problems

From: Paul Eggert
Subject: Re: emacs-24.2.93 build problems
Date: Sat, 02 Mar 2013 16:09:50 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3

On 03/02/2013 03:00 PM, Nelson H. F. Beebe wrote:
>     sysdep.c:2656: error: 'KERN_PROC' undeclared (first use in this function)

Thanks for the heads-up.  Yes, we should fix the problem.
Does the following little patch fix the bug?  (I don't have
any OpenBSD hosts to play with, unfortunately.)

=== modified file 'src/sysdep.c'
--- src/sysdep.c        2013-01-11 07:47:57 +0000
+++ src/sysdep.c        2013-03-03 00:04:08 +0000
@@ -2649,6 +2649,13 @@ list_system_processes (void)
 #elif defined BSD_SYSTEM
+/* OpenBSD 4.9 and earlier do not have KERN_PROC.  Approximate it with
+   KERN_PROC2.  */
+# ifndef KERN_PROC
+#  define kinfo_proc kinfo_proc2
+# endif
 list_system_processes (void)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]