bug-gnu-emacs
[Top][All Lists]
Advanced

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

pid_t causes compile error in FreeBSD system


From: maya
Subject: pid_t causes compile error in FreeBSD system
Date: Fri, 21 Apr 2006 14:17:39 +0900

http://cvs.savannah.gnu.org/viewcvs/emacs/src/process.h?root=emacs#rev1.33
This change causes compile error in FreeBSD system.
Compiler cannot find pid_t.

I guess
===
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
===
is necessary for the source which includes "process.h."
I applied avobe change to xdisp.c and print.c,
and this problem was solved.

% uname -srm
FreeBSD 5.4-RELEASE-p13 i386
% gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728

If this issue was already known, please ignore this message.

--
| NAGATA Shinya <address@hidden>




reply via email to

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