/trunk/debian/patches/kfreebsd.patch |
---|
11,7 → 11,7 |
#error "No support for this operating system yet. Sorry!" |
--- a/lib/os_bsd.c |
+++ b/lib/os_bsd.c |
@@ -16,8 +16,13 @@ |
@@ -16,8 +16,12 @@ |
#include <arpa/inet.h> |
#include <signal.h> |
#include <netdb.h> |
19,7 → 19,6 |
+#ifdef __GLIBC__ |
+#include <sys/file.h> |
+#include <pty.h> |
+#endif |
+#else |
#include <libutil.h> |
+#endif |