diff --git a/libraries/AP_HAL/utility/Socket.h b/libraries/AP_HAL/utility/Socket.h index e182826d81..753b0480ef 100644 --- a/libraries/AP_HAL/utility/Socket.h +++ b/libraries/AP_HAL/utility/Socket.h @@ -16,6 +16,9 @@ simple socket handling class for systems with BSD socket API */ +#ifndef HAL_SOCKET_H +#define HAL_SOCKET_H + #include #if HAL_OS_SOCKETS @@ -38,3 +41,4 @@ private: }; #endif // HAL_OS_SOCKETS +#endif // HAL_SOCKET_H