Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 79 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

--- a/lib/os.c
+++ b/lib/os.c
@@ -26,7 +26,7 @@
 #include "os_linux.c"
 #elif (defined(SOLARIS))
 #include "os_solaris.c"
-#elif (defined(BSD) && BSD >= 199306)
+#elif defined(__FreeBSD_kernel__) || (defined(BSD) && BSD >= 199306)
 #include "os_bsd.c"
 #else
 #error "No support for this operating system yet. Sorry!"
--- a/lib/os_bsd.c
+++ b/lib/os_bsd.c
@@ -16,6 +16,10 @@
 #include <arpa/inet.h>
 #include <signal.h>
 #include <netdb.h>
+#ifdef __GLIBC__
+#include <sys/file.h>
+#include <pty.h>
+#endif
 
 #include <libutil.h>