iPhone SDK Device - 3.2 build error

Hi there,

Bit of a weird one this, everything builds/runs fine on SDK 3.2 Simulator, but switch to Device (iPad target family) and you get this:

In file included from common/deps/juce/build/macosx/…/…/src/native/juce_mac_NativeCode.mm:92:
common/deps/juce/build/macosx/…/…/src/native/mac/juce_mac_Network.mm: In static member function ‘static int juce::SystemStats::getMACAddresses(juce::int64*, int, bool)’:
common/deps/juce/build/macosx/…/…/src/native/mac/juce_mac_Network.mm:46: error: ‘sockaddr_storage’ was not declared in this scope
common/deps/juce/build/macosx/…/…/src/native/mac/juce_mac_Network.mm:46: error: ‘sto’ was not declared in this scope
common/deps/juce/build/macosx/…/…/src/native/mac/juce_mac_Network.mm:46: error: expected primary-expression before ‘)’ token
common/deps/juce/build/macosx/…/…/src/native/mac/juce_mac_Network.mm:46: error: expected `;’ before 'cursor’
common/deps/juce/build/macosx/…/…/src/native/mac/juce_mac_Network.mm:47: error: ‘AF_LINK’ was not declared in this scope

I guess the iPhone SDK must have slightly different headers available for simulator than device, though never come across this before… any ideas?

Cheers,

graf