Project

General

Profile

Bug #1486

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

Added by Anonymous almost 12 years ago. Updated over 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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 (319 Bytes) lighttpd-etag.diff patch for compiling on platforms without stdint.h -- rkitover Anonymous, 2007-12-15 13:13

History

#1

Updated by Anonymous over 11 years ago

hehe I was about to send the same ticket :)

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

-- StalkR

#2

Updated by stbuehler over 11 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.

Also available in: Atom