Skip to content

Commit

Permalink
Include <stdlib.h>, required for getenv(3).
Browse files Browse the repository at this point in the history
Fix build if -Werror is set, avoid coredumping at runtime otherwise.

Reported by:	Ganael Laplanche
  • Loading branch information
smortex committed May 20, 2013
1 parent 936210c commit c1db25c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libnfc/buses/usbbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c1db25c

Please sign in to comment.