From 34fd94b5e13b13eeb1f557809684bd4ebeba60cb Mon Sep 17 00:00:00 2001 From: Stelian Ionescu Date: Thu, 22 Nov 2007 18:21:22 +0100 Subject: [PATCH] FreeBSD fixes. Signed-off-by: Stelian Ionescu --- io-multiplex/common.lisp | 4 ++-- sockets/grovel.lisp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/io-multiplex/common.lisp b/io-multiplex/common.lisp index 1e5bea5..b9a1ba0 100644 --- a/io-multiplex/common.lisp +++ b/io-multiplex/common.lisp @@ -505,8 +505,8 @@ within the extent of BODY. Closes VAR." ;;;; Misc ;;; FIXME: Until a way to autodetect platform features is implemented -#+darwin -(defconstant nix::pollrdhup 0) +#+(or darwin freebsd) +(define-constant nix::pollrdhup 0) (define-condition poll-error (error) ((fd :initarg :fd :reader poll-error-fd) diff --git a/sockets/grovel.lisp b/sockets/grovel.lisp index 3b8e807..30849e8 100644 --- a/sockets/grovel.lisp +++ b/sockets/grovel.lisp @@ -31,8 +31,8 @@ ;;; be cleaned up or at least commented out. #-windows -(include "sys/socket.h" "sys/un.h" "netinet/in.h" "netinet/in_systm.h" - "netinet/ip.h" "net/if.h" "netinet/tcp.h" "netdb.h" "errno.h" +(include "sys/socket.h" "sys/un.h" "netinet/in.h" + "net/if.h" "netinet/tcp.h" "netdb.h" "errno.h" "arpa/inet.h") #+windows (include "Winsock2.h" "Ws2tcpip.h") -- 2.11.4.GIT