repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added vendor id for Denon
[deb_libcec.git]
/
src
/
lib
/
platform
/
posix
/
os-types.h
diff --git
a/src/lib/platform/posix/os-types.h
b/src/lib/platform/posix/os-types.h
index b8783b15e76d37f6aba75a9b3c144ba9624c4038..261dd035e6d6efdf893d0423c3a69cf5c1edbbc9 100644
(file)
--- a/
src/lib/platform/posix/os-types.h
+++ b/
src/lib/platform/posix/os-types.h
@@
-32,6
+32,7
@@
*/
#define _FILE_OFFSET_BITS 64
*/
#define _FILE_OFFSET_BITS 64
+#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/time.h>
#include <string.h>
#include <errno.h>
#include <sys/time.h>
@@
-43,6
+44,10
@@
#include <semaphore.h>
#include <stdint.h>
#include <semaphore.h>
#include <stdint.h>
+extern "C" {
+#include <sys/types.h>
+}
+
#define LIBTYPE
#define DECLSPEC
#define LIBTYPE
#define DECLSPEC
@@
-51,3
+56,6
@@
typedef socket_t tcp_socket_t;
#define INVALID_SOCKET_VALUE (-1)
typedef socket_t serial_socket_t;
#define INVALID_SERIAL_SOCKET_VALUE (-1)
#define INVALID_SOCKET_VALUE (-1)
typedef socket_t serial_socket_t;
#define INVALID_SERIAL_SOCKET_VALUE (-1)
+typedef socket_t chardev_socket_t;
+#define INVALID_CHARDEV_SOCKET_VALUE (-1)
+