Fix a build failure on OpenBSD 4.x.
commit725eb02724597e4eddf2562aac20a3246cdda4ac
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Mar 2013 02:03:05 +0000 (4 18:03 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Mar 2013 02:03:05 +0000 (4 18:03 -0800)
tree4328616df182842d9f16b2efca85547c843e142f
parent9450ac063cfe3a1d3ab6b24dc21f484006617f3f
Fix a build failure on OpenBSD 4.x.

* sysdep.c (KERN_PROC, kinfo_proc) [BSD_SYSTEM && !KERN_PROC]:
Define to KERN_PROC2 and kinfo_proc2, for OpenBSD 4.9.
list-system-processes still returns nil, but at least it doesn't crash.
Problem reported by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html>.
src/ChangeLog
src/sysdep.c