Commit 7fd8c501 authored by Paul Eggert's avatar Paul Eggert

* sysdep.c: Remove a use of BSD_SYSTEM, which I'm trying to phase out.

Include <sys/param.h> unconditionally, as that works elsewhere and
is simpler here.  Include <sys/sysctl.h> if DARWIN_OS ||
__FreeBSD__, not if BSD_SYSTEM, since it's needed only for Darwin
and FreeBSD now.
parent e7f7cb1a
2013-03-13 Paul Eggert <eggert@cs.ucla.edu>
* sysdep.c: Remove a use of BSD_SYSTEM, which I'm trying to phase out.
Include <sys/param.h> unconditionally, as that works elsewhere and
is simpler here. Include <sys/sysctl.h> if DARWIN_OS ||
__FreeBSD__, not if BSD_SYSTEM, since it's needed only for Darwin
and FreeBSD now.
2013-03-11 Paul Eggert <eggert@cs.ucla.edu>
* insdel.c (adjust_after_replace): Use bool for boolean.
......
......@@ -38,9 +38,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "sysselect.h"
#include "blockinput.h"
#ifdef BSD_SYSTEM
#include <sys/param.h>
#include <sys/sysctl.h>
#if defined DARWIN_OS || defined __FreeBSD__
# include <sys/sysctl.h>
#endif
#ifdef __FreeBSD__
......@@ -69,9 +68,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#ifdef MSDOS /* Demacs 1.1.2 91/10/20 Manabu Higashida, MW Aug 1993 */
#include "msdos.h"
#include <sys/param.h>
#endif
#include <sys/param.h>
#include <sys/file.h>
#include <fcntl.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment