aboutsummaryrefslogtreecommitdiff
path: root/tests/socket-helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/socket-helpers.h')
-rw-r--r--tests/socket-helpers.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/socket-helpers.h b/tests/socket-helpers.h
index 1c07d6d656..9de0e6b151 100644
--- a/tests/socket-helpers.h
+++ b/tests/socket-helpers.h
@@ -15,9 +15,11 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
- *
*/
+#ifndef TESTS_SOCKET_HELPERS_H
+#define TESTS_SOCKET_HELPERS_H
+
/*
* @hostname: a DNS name or numeric IP address
*
@@ -40,3 +42,5 @@ int socket_can_bind_connect(const char *hostname);
* Returns 0 on success, -1 on fatal error
*/
int socket_check_protocol_support(bool *has_ipv4, bool *has_ipv6);
+
+#endif