View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001494 | libmicrohttpd | portability | public | 2009-09-19 02:12 | 2010-09-10 15:32 |
| Reporter | daniel | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.4.3 | ||||
| Summary | 0001494: missing #includes in microhttpd.h | ||||
| Description | Hi, this is a forward of http://bugs.debian.org/547317 "It seems like microhttpd.h can't be included by itself, but requires a few headers to be included first. At least I think stdlib.h, unistd.h, stdint.h and stdarg.h are required. Could this either be added to the .h file or at least the documentation?" Regards, Daniel | ||||
| Tags | No tags attached. | ||||
|
|
This bug has also been reported in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=521696 |
|
|
The problem is that some of these headers are not available on systems that MHD works fine on (and I didn't want to put a generated config.h or similar into /usr/include/), so the documentation DOES state that you need to include those (or equivalent) headers before including microhttpd.h. Now, I'm not saying that this is documented everywhere whare it should be documented, so I'll leave this bug open until I think documentation-adequacy has been reached ;-). |
|
|
Added needed #includes to the man page (man libmicrohttpd). |
|
|
Updated examples in tutorial to add needed headers. |
|
|
Hopefully better (final) fix is now in SVN 12790. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-09-19 02:12 | daniel | New Issue | |
| 2009-09-19 12:13 | epienbro | Note Added: 0003882 | |
| 2009-09-24 07:39 | root | Note Added: 0003883 | |
| 2009-10-29 02:47 | Christian Grothoff | Note Added: 0003886 | |
| 2009-11-15 14:38 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2009-11-15 14:38 | Christian Grothoff | Status | new => acknowledged |
| 2010-07-26 20:13 | Christian Grothoff | Note Added: 0004079 | |
| 2010-07-26 20:14 | Christian Grothoff | Severity | minor => tweak |
| 2010-07-26 20:14 | Christian Grothoff | Category | other => portability |
| 2010-09-01 14:01 | Christian Grothoff | Note Added: 0004113 | |
| 2010-09-01 14:01 | Christian Grothoff | Status | acknowledged => resolved |
| 2010-09-01 14:01 | Christian Grothoff | Resolution | open => fixed |
| 2010-09-10 15:32 | Christian Grothoff | Status | resolved => closed |