summaryrefslogtreecommitdiff
path: root/ext/shmop/php_shmop.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/shmop/php_shmop.h')
-rw-r--r--ext/shmop/php_shmop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/shmop/php_shmop.h b/ext/shmop/php_shmop.h
index 65ed03c27b..ac8ce04230 100644
--- a/ext/shmop/php_shmop.h
+++ b/ext/shmop/php_shmop.h
@@ -43,6 +43,10 @@ PHP_FUNCTION(shmop_size);
PHP_FUNCTION(shmop_write);
PHP_FUNCTION(shmop_delete);
+#ifdef PHP_WIN32
+typedef int key_t;
+#endif
+
struct php_shmop
{
int shmid;