Project

General

Profile

Actions

Bug #1486

closed

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

Added by Anonymous over 16 years ago. Updated about 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

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


Files

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

Updated by Anonymous about 16 years ago

hehe I was about to send the same ticket :)

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

-- StalkR

Actions #2

Updated by stbuehler about 16 years ago

  • 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.

Actions

Also available in: Atom