diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/plugin_transport_http.h | 4 | ||||
-rw-r--r-- | src/transport/plugin_transport_udp.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h index 1ac2f9859..2fb827be3 100644 --- a/src/transport/plugin_transport_http.h +++ b/src/transport/plugin_transport_http.h | |||
@@ -23,6 +23,8 @@ | |||
23 | * @brief http transport service plugin | 23 | * @brief http transport service plugin |
24 | * @author Matthias Wachs | 24 | * @author Matthias Wachs |
25 | */ | 25 | */ |
26 | #ifndef PLUGIN_TRANSPORT_HTTP_H | ||
27 | #define PLUGIN_TRANSPORT_HTTP_H | ||
26 | 28 | ||
27 | #include "platform.h" | 29 | #include "platform.h" |
28 | #include "gnunet_common.h" | 30 | #include "gnunet_common.h" |
@@ -579,4 +581,6 @@ void | |||
579 | notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, | 581 | notify_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, |
580 | struct Session *s); | 582 | struct Session *s); |
581 | 583 | ||
584 | /*#ifndef PLUGIN_TRANSPORT_HTTP_H*/ | ||
585 | #endif | ||
582 | /* end of plugin_transport_http.h */ | 586 | /* end of plugin_transport_http.h */ |
diff --git a/src/transport/plugin_transport_udp.h b/src/transport/plugin_transport_udp.h index 1994fa5e2..62352f9fc 100644 --- a/src/transport/plugin_transport_udp.h +++ b/src/transport/plugin_transport_udp.h | |||
@@ -25,6 +25,9 @@ | |||
25 | * @author Nathan Evans | 25 | * @author Nathan Evans |
26 | * @author Matthias Wachs | 26 | * @author Matthias Wachs |
27 | */ | 27 | */ |
28 | #ifndef PLUGIN_TRANSPORT_UDP_H | ||
29 | #define PLUGIN_TRANSPORT_UDP_H | ||
30 | |||
28 | #include "platform.h" | 31 | #include "platform.h" |
29 | #include "gnunet_hello_lib.h" | 32 | #include "gnunet_hello_lib.h" |
30 | #include "gnunet_util_lib.h" | 33 | #include "gnunet_util_lib.h" |
@@ -301,4 +304,6 @@ setup_broadcast (struct Plugin *plugin, | |||
301 | void | 304 | void |
302 | stop_broadcast (struct Plugin *plugin); | 305 | stop_broadcast (struct Plugin *plugin); |
303 | 306 | ||
307 | /*#ifndef PLUGIN_TRANSPORT_UDP_H*/ | ||
308 | #endif | ||
304 | /* end of plugin_transport_udp.h */ | 309 | /* end of plugin_transport_udp.h */ |