mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-27 04:06:38 +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"
|
||||
#endif // HAVE_CONFIG_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "usbbus.h"
|
||||
#include "log.h"
|
||||
#define LOG_CATEGORY "libnfc.buses.usbbus"
|
||||
|
||||
Reference in New Issue
Block a user