From 545a2d6f286ad0a0507bca42ee4db5f20f91e52d Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 9 Feb 2010 09:45:27 +0000 Subject: [PATCH] Move sys/select.h include in the non-windows part. Update copyright header. --- src/lib/buses/uart.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/lib/buses/uart.c b/src/lib/buses/uart.c index 3eeba39e..665c5554 100644 --- a/src/lib/buses/uart.c +++ b/src/lib/buses/uart.c @@ -1,7 +1,7 @@ /*- * Public platform independent Near Field Communication (NFC) library * - * Copyright (C) 2009, Roel Verdult + * Copyright (C) 2009, 2010, Roel Verdult, Romuald Conty * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the @@ -20,7 +20,9 @@ /** * @file uart.c - * @brief + * @brief UART driver + * + * This file can be splitted in two parts: POSIX-like and Windows parts. */ /* @@ -34,14 +36,14 @@ Based on RS232 code written by Teunis van Beelen available: #include "uart.h" -#include - #include // Test if we are dealing with unix operating systems #ifndef _WIN32 +#include #include + typedef struct termios term_info; typedef struct { int fd; // Serial port file descriptor