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