Commit 9608ec9e authored by Nishanth Menon's avatar Nishanth Menon

[I2CTOOLS] I2c-busses: Define _DEFAULT_SOURCE as well

Newer glib (>2.2) prefers _DEFAULT_SOURCE defined, so allow builds based
on what ever glib needed.
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent c4687333
......@@ -31,6 +31,7 @@
/* For strdup and snprintf */
#define _BSD_SOURCE 1
#define _DEFAULT_SOURCE 1
#include <sys/types.h>
#include <sys/stat.h>
......
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