fix stdup declaration

- we need to include sane/config.h first  to use strdup
merge-requests/1/head
Stéphane Voltz 2015-09-16 17:38:05 +02:00
rodzic 6c7f9f6a3b
commit 45df679214
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -1,3 +1,6 @@
2015-09-16 Stéphane Voltz <stef.dev@free.fr>
* backend/pieusb.c: include sane/config.h first
2015-09-14 Stéphane Voltz <stef.dev@free.fr>
* backend/bh.c: replace mktemp by mkstemp #300134

Wyświetl plik

@ -58,6 +58,7 @@
*
* --------------------------------------------------------------------------*/
#include "../include/sane/config.h"
/* Standard includes for various utiliy functions */
#include <stdio.h> /* for FILE */
#include <string.h> /* for strlen */