msvc support
[m6w6/libmemcached] / include / libmemcachedprotocol-0.0 / handler.h
index 74bdee3d5bff71238537483ad2a0b566291479e8..5f0090560716f094d6b1f29c707e63be84f76bc5 100644 (file)
 #pragma once
 
 #include <sys/types.h>
-#if !defined(__cplusplus)
+#ifndef HAVE_SSIZE_T
+typedef long int ssize_t;
+#endif
+
+#ifndef __cplusplus
 #  include <stdbool.h>
+#  include <stdint.h>
+#  include <stddef.h>
+#else
+#  include <cstdint>
 #endif
 
 #include "libmemcached-1.0/visibility.h"