By mistake, I had modify libnfc's 1.3.2 tag instead of trunk. Its now fixed.

Pointy hat to me :).
This commit is contained in:
Romuald Conty 2010-02-10 15:29:45 +00:00
parent 545a2d6f28
commit 91576f555c

View File

@ -1,7 +1,7 @@
/*- /*-
* Public platform independent Near Field Communication (NFC) library * Public platform independent Near Field Communication (NFC) library
* *
* Copyright (C) 2009, 2010, Roel Verdult, Romuald Conty * Copyright (C) 2009, Roel Verdult
* *
* This program is free software: you can redistribute it and/or modify it * 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 * under the terms of the GNU Lesser General Public License as published by the
@ -20,9 +20,7 @@
/** /**
* @file uart.c * @file uart.c
* @brief UART driver * @brief
*
* This file can be splitted in two parts: POSIX-like and Windows parts.
*/ */
/* /*
@ -36,14 +34,14 @@ http://www.teuniz.net/RS-232/index.html
#include "uart.h" #include "uart.h"
#include <sys/select.h>
#include <nfc/nfc-messages.h> #include <nfc/nfc-messages.h>
// Test if we are dealing with unix operating systems // Test if we are dealing with unix operating systems
#ifndef _WIN32 #ifndef _WIN32
#include <sys/select.h>
#include <termios.h> #include <termios.h>
typedef struct termios term_info; typedef struct termios term_info;
typedef struct { typedef struct {
int fd; // Serial port file descriptor int fd; // Serial port file descriptor