Bug #1413
slight compilation problem in src/etag.c
| Status: | Fixed | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | core | |||
| Target version: | 1.5.0 | |||
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
History
Updated by stbuehler about 1 year 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 about 1 year ago
- Status changed from New to Fixed
- Resolution set to fixed
Fixed in r2089