Browse Source

AP_HAL: protect Socket.h from double include

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
692fc18698
  1. 4
      libraries/AP_HAL/utility/Socket.h

4
libraries/AP_HAL/utility/Socket.h

@ -16,6 +16,9 @@ @@ -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: @@ -38,3 +41,4 @@ private:
};
#endif // HAL_OS_SOCKETS
#endif // HAL_SOCKET_H

Loading…
Cancel
Save