Include <stdlib.h>, required for getenv(3).

Fix build if -Werror is set, avoid coredumping at runtime otherwise.

Reported by:	Ganael Laplanche
This commit is contained in:
Romain Tartière 2013-05-20 16:58:57 +02:00
parent 936210c076
commit c1db25c05b

View file

@ -33,6 +33,8 @@
# include "config.h" # include "config.h"
#endif // HAVE_CONFIG_H #endif // HAVE_CONFIG_H
#include <stdlib.h>
#include "usbbus.h" #include "usbbus.h"
#include "log.h" #include "log.h"
#define LOG_CATEGORY "libnfc.buses.usbbus" #define LOG_CATEGORY "libnfc.buses.usbbus"