Actions
Bug #1413
closedslight compilation problem in src/etag.c
ASK QUESTIONS IN Forums:
Description
The below patch allows compiling in systems (*) without <stdint.h> since src/etag.c assumed not only that but later it assumed uint32_t.
(*) Tru64 is one.
--- src/etag.c.dist 2007-10-20 06:30:39.000000000 0300
++ src/etag.c 2007-10-20 06:32:10.000000000 0300@ -1,5 +1,5
@
#include <string.h>
-#include <stdint.h>
#include "base.h"
#include "buffer.h"
#include "etag.h"
-- jhi at-at iki.fi
Files
Updated by stbuehler almost 17 years ago
--- a/src/etag.c +++ b/src/etag.c @@ -1,5 +1,10 @@ #include <string.h> + +#if defined HAVE_STDINT_H #include <stdint.h> +#elif defined HAVE_INTTYPES_H +#include <inttypes.h> +#endif #include "buffer.h" #include "etag.h"
Updated by stbuehler almost 17 years ago
config.h should be included before; attached corrected fix.
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to fixed
Fixed in r2089
Actions
Also available in: Atom