Missing sys/types.h header when trying to compile ADK2->bluetooth scan

Hi,

I am trying to compile Google's ADK2 BluetoothScan example on an Ubuntu 12.04 32-bit machine, using hte procedure... http://developer.android.com/tools/adk/adk2.html#dev-setup.

However, I am getting the following compialtion error.

In file included from /root/sketchbook/libraries/ADK2/v_ogg.h:25:0, from /root/sketchbook/libraries/ADK2/v_ivorbiscodec.h:27, from /root/sketchbook/libraries/ADK2/v_misc.h:21, from /root/sketchbook/libraries/ADK2/v_misc.c:19: /root/sketchbook/libraries/ADK2/v_os_types.h:133:25: fatal error: sys/types.h: No such file or directory compilation terminated.

I confirm the issue occurs on all 3 ADK2 examples; BluetoothScan, clock & usbaccessory.

Any help would be most appreciated.

Michael

Any help would be most appreciated.

Do you have an Arduino question?