Changeset 4917


Ignore:
Timestamp:
02/09/09 02:50:55 (4 years ago)
Author:
werner
Message:

Date: Sat, 7 Feb 2009 16:51:02 +0000
From: Bruce Cran <bruce@…>
To: openmoko-kernel@…
Subject: dfu-util: missing includes

I've been porting dfu-util to work with FreeBSD using the new USB stack
and the libusb 0.1 compatibility layer. While it builds and runs, I
noticed a few compiler warnings because libusb20_compat01.h doesn't
include unistd.h and stdlib.h: src/main.c needs stdlib.h and unistd.h
while src/sam7dfu.c just needs unistd.h - they should ideally be
explicitly included instead of picking them up from libusb.

Location:
trunk/src/host/dfu-util/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.