[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 09/17] console: add FreeBSD includes
Add FreeBSD specific includes to the console daemon. Signed-off-by: Roger Pau Monnà <roger.pau@xxxxxxxxxx> Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx> --- Changes since v1: - Removed FreeBSD specific include of termios.h. - Move sys/types.h include outside of the FreeBSD specific section. --- tools/console/daemon/io.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tools/console/daemon/io.c b/tools/console/daemon/io.c index 007ecf4..46719a8 100644 --- a/tools/console/daemon/io.c +++ b/tools/console/daemon/io.c @@ -37,12 +37,16 @@ #include <sys/mman.h> #include <time.h> #include <assert.h> +#include <sys/types.h> #if defined(__NetBSD__) || defined(__OpenBSD__) #include <util.h> #elif defined(__linux__) #include <pty.h> #elif defined(__sun__) #include <stropts.h> +#elif defined(__FreeBSD__) +#include <sys/ioctl.h> +#include <libutil.h> #endif #define MAX(a, b) (((a) > (b)) ? (a) : (b)) -- 1.7.7.5 (Apple Git-26) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |