mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-14 03:23:48 +00:00
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:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user