| Summary: | !ENABLE_FEATURE_GETOPT_LONG should not include getopt.h | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Alexander Clouter <alex+buildroot> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.18.x | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | fix !ENABLE_FEATURE_GETOPT_LONG build | ||
Thanks! Fixed in git by commit 488dd7086925b83bb36568965558221e04d2cc91 Fix available in 1.19.0 |
Created attachment 3313 [details] fix !ENABLE_FEATURE_GETOPT_LONG build When compiling with !ENABLE_FEATURE_GETOPT_LONG, busybox still tries to include getopt.h which is not available; for example with uClibc when !UCLIBC_HAS_GETOPT_LONG. getopt.h is only required for the _long set of functions according to my 'man 3 getopt' at least. The attached patch fixes up what seemsto me the remaining two broken spots.