mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_HAL: protect Socket.h from double include
This commit is contained in:
parent
c136d65c25
commit
692fc18698
@ -16,6 +16,9 @@
|
||||
simple socket handling class for systems with BSD socket API
|
||||
*/
|
||||
|
||||
#ifndef HAL_SOCKET_H
|
||||
#define HAL_SOCKET_H
|
||||
|
||||
#include <AP_HAL.h>
|
||||
#if HAL_OS_SOCKETS
|
||||
|
||||
@ -38,3 +41,4 @@ private:
|
||||
};
|
||||
|
||||
#endif // HAL_OS_SOCKETS
|
||||
#endif // HAL_SOCKET_H
|
||||
|
Loading…
Reference in New Issue
Block a user