]> granicus.if.org Git - php/commitdiff
replace typedef by an appropriate include
authorAnatol Belski <ab@php.net>
Sat, 10 Oct 2015 11:17:15 +0000 (13:17 +0200)
committerAnatol Belski <ab@php.net>
Sat, 10 Oct 2015 15:31:40 +0000 (17:31 +0200)
ext/shmop/php_shmop.h
ext/sysvshm/php_sysvshm.h

index 805f3a380c38217db8c37503230b065a8baedb6c..71ab801a50949286cd34923de092914f2da5b8ca 100644 (file)
@@ -38,7 +38,7 @@ PHP_FUNCTION(shmop_write);
 PHP_FUNCTION(shmop_delete);
 
 #ifdef PHP_WIN32
-typedef int key_t;
+# include "win32/ipc.h"
 #endif
 
 struct php_shmop
index 36ec0fb65061636dc80a8af323e1db3f9da394ee..07acb47fb71d52c2be11ddc0d7b81098007f51d8 100644 (file)
@@ -33,7 +33,7 @@ extern zend_module_entry sysvshm_module_entry;
 
 #ifdef PHP_WIN32
 # include <TSRM/tsrm_win32.h>
-typedef int key_t;
+# include "win32/ipc.h"
 # ifndef THREAD_LS
 #  define THREAD_LS
 # endif