Move sys/select.h include in the non-windows part.
Update copyright headers.
This commit is contained in:
parent
386597af6e
commit
0b962a3b3b
2 changed files with 12 additions and 9 deletions
|
@ -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 contains 2 implementations of UART driver: first for POSIX systems, second for Windows system.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -34,13 +36,12 @@ http://www.teuniz.net/RS-232/index.html
|
|||
|
||||
#include "uart.h"
|
||||
|
||||
#include <sys/select.h>
|
||||
|
||||
#include <nfc/nfc-messages.h>
|
||||
|
||||
// Test if we are dealing with unix operating systems
|
||||
#ifndef _WIN32
|
||||
|
||||
#include <sys/select.h>
|
||||
#include <termios.h>
|
||||
typedef struct termios term_info;
|
||||
typedef struct {
|
||||
|
|
|
@ -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
|
||||
|
@ -15,10 +15,12 @@
|
|||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file uart.h
|
||||
* @brief
|
||||
* @brief UART driver header
|
||||
*/
|
||||
|
||||
#ifndef __NFC_BUS_UART_H__
|
||||
|
|
Loading…
Reference in a new issue