unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [maya.negeta@gmail.com: pid_t causes compile error in FreeBSD system]
@ 2006-04-21 21:04 Richard Stallman
  2006-04-24  7:36 ` Fwd: pid_t causes compile error in FreeBSD system Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2006-04-21 21:04 UTC (permalink / raw)


He seems to be using the latest sources, so I hope someone can fix this.

------- Start of forwarded message -------
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=rZdNzo1AJYdUdeR2AeJndHFiNSLyPplohWV9Go7Xn+6iQ9RkhXXEdJPe7QnnMcPht+fjXp8aC3/kb8m8IM8WLwbrCkf+Qj01SLzk0RWB4mMPHaRNSdqg1IRCI03l0iKWzCw09mnPPjGFrO/ZzvjUlSStYeR8YMjrqmO6PgkAf1o=
Date: Fri, 21 Apr 2006 14:17:39 +0900
From: maya <maya.negeta@gmail.com>
To: bug-gnu-emacs@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Subject: pid_t causes compile error in FreeBSD system
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed 
	version=3.0.4

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 <maya.negeta@gmail.com>


_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: pid_t causes compile error in FreeBSD  system
  2006-04-21 21:04 [maya.negeta@gmail.com: pid_t causes compile error in FreeBSD system] Richard Stallman
@ 2006-04-24  7:36 ` Stefan Monnier
       [not found]   ` <4b50d1850604240553oe3ab50aqb263c94281aeff0f@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2006-04-24  7:36 UTC (permalink / raw)
  Cc: Maya, emacs-devel

> He seems to be using the latest sources, so I hope someone can fix this.

Let's see.

> 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.

Does the patch below fix the problem?


        Stefan


--- process.h	08 avr 2006 10:23:15 -0400	1.33
+++ process.h	24 avr 2006 03:35:20 -0400	
@@ -19,6 +19,12 @@
 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 Boston, MA 02110-1301, USA.  */
 
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 /* This structure records information about a subprocess
    or network connection.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: pid_t causes compile error in FreeBSD system
       [not found]   ` <4b50d1850604240553oe3ab50aqb263c94281aeff0f@mail.gmail.com>
@ 2006-04-24 13:10     ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2006-04-24 13:10 UTC (permalink / raw)
  Cc: emacs-devel

>> Does the patch below fix the problem?
> It solves the problem.
> Compile error doesn't occur now.
> Thanks.

Thanks, installed,


        Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-24 13:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-21 21:04 [maya.negeta@gmail.com: pid_t causes compile error in FreeBSD system] Richard Stallman
2006-04-24  7:36 ` Fwd: pid_t causes compile error in FreeBSD system Stefan Monnier
     [not found]   ` <4b50d1850604240553oe3ab50aqb263c94281aeff0f@mail.gmail.com>
2006-04-24 13:10     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).