Ticket #71 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

Remove useless #include

Reported by: ludovicrousseau Owned by:
Milestone: Component: libusb-1.0
Keywords: Cc:
Blocked By: Blocks:

Description

Some header files are included but are not needed.

Also change <config.h> to "config.h" to include the current config.h
instead of a system one.

Patch included

Attachments

0001-Remove-useless-include.patch (1.1 KB) - added by ludovicrousseau 3 years ago.

Download all attachments as: .zip

Change History

Changed 3 years ago by ludovicrousseau

comment:1 Changed 3 years ago by segher

  • Resolution set to invalid
  • Status changed from new to closed

NAK. For example, <unistd.h> is required for lseek().

On your particular system, it might get included via some other
headers, but that doesn't make your patch correct.

Note: See TracTickets for help on using tickets.