Subversion Repositories

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

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
50 magnus 1
--- a/lib/os.c
2
+++ b/lib/os.c
3
@@ -26,7 +26,7 @@
4
 #include "os_linux.c"
5
 #elif (defined(SOLARIS))
6
 #include "os_solaris.c"
7
-#elif (defined(BSD) && BSD >= 199306)
8
+#elif defined(__FreeBSD_kernel__) || (defined(BSD) && BSD >= 199306)
9
 #include "os_bsd.c"
10
 #else
11
 #error "No support for this operating system yet. Sorry!"
12
--- a/lib/os_bsd.c
13
+++ b/lib/os_bsd.c
14
@@ -16,6 +16,10 @@
15
 #include <arpa/inet.h>
16
 #include <signal.h>
17
 #include <netdb.h>
18
+#ifdef __GLIBC__
19
+#include <sys/file.h>
20
+#include <pty.h>
21
+#endif
22
 
23
 #include <libutil.h>
24