Hi, On 06/05/2013 12:39 PM, Hans de Goede wrote:
<snip> > diff --git a/libusb/strerror.c b/libusb/strerror.c > new file mode 100644 > index 0000000..bea75a3 > --- /dev/null > +++ b/libusb/strerror.c > @@ -0,0 +1,205 @@ > +/* > + * libusb strerror code > + * Copyright © 2013 Hans de Goede <hdego...@redhat.com> > + * > + * This library is free software; you can redistribute it and/or > + * modify it under the terms of the GNU Lesser General Public > + * License as published by the Free Software Foundation; either > + * version 2.1 of the License, or (at your option) any later version. > + * > + * This library is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * Lesser General Public License for more details. > + * > + * You should have received a copy of the GNU Lesser General Public > + * License along with this library; if not, write to the Free Software > + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 > USA > + */ > +#include "config.h" > + > +#include <locale.h> > +#include <stdlib.h> Hmm, locale.h is no longer necessary. stdlib.h should also not be necessary, but "libusbi.h" needs it and does not include it itself. I've dropped the locale.h in my local tree. > +#include <string.h> > + > +#include "libusb.h" > +#include "libusbi.h" > + Regards, Hans ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel