Commit c1db25c0 authored by Romain Tartière's avatar Romain Tartière

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

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

Reported by:	Ganael Laplanche
parent 936210c0
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment