Bug #1599: Compile fails because size_t is not defined

From: Date: Fri, 25 Jun 1999 16:52:59 +0000
Subject: Bug #1599: Compile fails because size_t is not defined
Groups: php.dev 
Request: Send a blank email to php-dev+get-7554@lists.php.net to get a copy of this message
From: cabernethy@studentadvantage.com Operating system: Irix 6.2 PHP version: 3.0.9 PHP Bug Type: Compile Failure Bug description: Compile fails because size_t is not defined When compiling php, I ran into the problem of not having size_t defined in the file 'functions/formatted_print.c' . This source file included <math.h> which needs size_t to be defined. Since size_t is defined in <stdio.h> on this Irix system, I merely switched the order of the include files in 'formatted_print.c' so that stdio.h came before math.h. This fixed the problem and compilation finished without further incident.

« previous php.dev (#7554) next »