Browse Source

AP_HAL_Linux: I2CDevice: add missing stdio.h include

This was probably being included by another header, but it's not on
gcc >= 6.1 and glibc 2.23.
mission-4.1.18
Gustavo Jose de Sousa 9 years ago committed by Lucas De Marchi
parent
commit
d615628367
  1. 1
      libraries/AP_HAL_Linux/I2CDevice.cpp

1
libraries/AP_HAL_Linux/I2CDevice.cpp

@ -36,6 +36,7 @@ @@ -36,6 +36,7 @@
#ifndef I2C_SMBUS_BLOCK_MAX
#include <linux/i2c.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <sys/stat.h>

Loading…
Cancel
Save