Merge pull request #929 from dominikrose:mingw-libdc1394-2-windows

This commit is contained in:
Roman Donchenko
2013-06-14 15:46:23 +04:00
committed by OpenCV Buildbot
4 changed files with 59 additions and 7 deletions
+10 -1
View File
@@ -45,7 +45,16 @@
#include <unistd.h>
#include <stdint.h>
#include <sys/select.h>
#ifdef WIN32
// On Windows, we have no sys/select.h, but we need to pick up
// select() which is in winsock2.
#ifndef __SYS_SELECT_H__
#define __SYS_SELECT_H__ 1
#include <winsock2.h>
#endif
#else
#include <sys/select.h>
#endif /*WIN32*/
#include <dc1394/dc1394.h>
#include <stdlib.h>
#include <string.h>