kitech / php-go

Write PHP extension using go/golang. Zend API wrapper for go/golang.
881 stars 108 forks source link

Missing stdint.h #40

Open andrenth opened 6 years ago

andrenth commented 6 years ago

Hi

First of all thanks for this library. When building an extension with PHP 5.6, I get the following error:

zend_ini.go:123:26: could not determine kind of name for C.uint32_t

I can fix it by adding #include <stdint.h> in the cgo comments in that file.

Do you think you could apply this fix?