[CentOS] Error on php header

Thu Feb 11 15:35:54 UTC 2010
Renato Botelho <rbgarga at gmail.com>

I was building a software on CentOS 5.4 and got this:

/usr/include/php/main/streams/php_stream_filter_api.h:65: error: comma
at end of enumerator list

I took a look at header and found this:

typedef enum {
        PSFS_ERR_FATAL, /* error in data stream */
        PSFS_FEED_ME,   /* filter needs more data; stop processing
chain until more is available */
        PSFS_PASS_ON,   /* filter generated output buckets; pass them
on to next in chain */
} php_stream_filter_status_t;

Removing comma after PSFS_PASS_ON everything back to normal.

-- 
Renato Botelho