mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
Merge pull request #559 from katterjohn/pty-bsd-fix
(chibi pty): fix compilation errors on the BSDs
This commit is contained in:
commit
cc1ca2622d
1 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
||||||
|
|
||||||
(cond-expand
|
(cond-expand
|
||||||
(macosx (c-system-include "util.h"))
|
((or macosx openbsd netbsd) (c-system-include "util.h"))
|
||||||
|
((or freebsd dragonfly) (c-system-include "libutil.h"))
|
||||||
(else (c-system-include "pty.h")))
|
(else (c-system-include "pty.h")))
|
||||||
(c-system-include "utmp.h")
|
(cond-expand
|
||||||
|
((not bsd) (c-system-include "utmp.h")))
|
||||||
|
|
||||||
(c-link "util")
|
(c-link "util")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue