summaryrefslogtreecommitdiff
path: root/util/comm-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/comm-i2c.c')
-rw-r--r--util/comm-i2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/comm-i2c.c b/util/comm-i2c.c
index 83e0b1dcf7..d76749fbe5 100644
--- a/util/comm-i2c.c
+++ b/util/comm-i2c.c
@@ -3,7 +3,9 @@
* found in the LICENSE file.
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* for asprintf */
+#endif
#include <errno.h>
#include <fcntl.h>