AP_HAL: protect Socket.h from double include

This commit is contained in:
Andrew Tridgell 2015-05-10 21:02:04 +10:00
parent c136d65c25
commit 692fc18698

View File

@ -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