Make libnfc compile under Windows

Apply adapted patch from Glenn (Thanks!)
This commit is contained in:
Romuald Conty 2011-03-09 09:41:40 +00:00
parent 3fb4b0e0ee
commit 544030099e
5 changed files with 48 additions and 53 deletions

View file

@ -27,16 +27,23 @@
/* vim: set ts=2 sw=2 et: */
# include <sys/types.h>
# include <sys/select.h>
# include <sys/param.h>
# include <ctype.h>
# include <dirent.h>
# include <errno.h>
# include <stdio.h>
# include <termios.h>
#include <sys/ioctl.h>
#include <sys/param.h>
#include <sys/select.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/types.h>
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <termios.h>
#include <unistd.h>
# include "nfc-internal.h"
#include "nfc-internal.h"
# if defined(__APPLE__)
// FIXME: find UART connection string for PN53X device on Mac OS X when multiples devices are used