[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#460572: libcgi-dev: <libcgi/cgi.h> depends on <stdio.h> (for the FILE structure) but doesn't #inlude it



Package: libcgi-dev
Version: 1.0-5
Severity: important

/usr/include/libcgi/cgi.h depends on the FILE structure but doesn't
#include <stdio.h> to get it, the attached patch fixes this.

--- /usr/include/libcgi/cgi.h	2004-10-18 01:21:43.000000000 +0200
+++ cgi.h	2008-01-13 18:43:09.000000000 +0100
@@ -21,6 +21,8 @@
 #ifndef _CGI_H
 #define _CGI_H	1
   
+#include <stdio.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcgi-dev depends on:
ii  libcgi0                       1.0-5      library for CGI programs in C

libcgi-dev recommends no packages.

-- no debconf information



Reply to: