Bug #1486

src/etag.c includes stdint.h without checking HAVE_STDINT_H

Added by Anonymous 389 days ago. Updated 324 days ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:1.5.0
Pending:

No

Resolution:

duplicate


Description

Attaching patch:

+++ src/etag.c 2007-12-15 05:10:51.000000000 -0800
@ -1,5 +1,10 @
#include <string.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif

#include "buffer.h" 
#include "etag.h"

-- rkitover

lighttpd-etag.diff - patch for compiling on platforms without stdint.h -- rkitover (319 Bytes) Anonymous, 12/15/2007 01:13 PM

History

02/14/2008 07:32 AM - Anonymous

hehe I was about to send the same ticket :)

I encountered the same problem on Solaris 9 with no stdint.h

-- StalkR

02/18/2008 02:32 PM - stbuehler

  • Status changed from New to Fixed
  • Resolution set to duplicate

See #1413.

I took the #elif ... #include <inttypes.h> from another place in lighty... do you know which is the correct way? If you do, please respond in #1413.

Also available in: Atom PDF