diff options
| author | Davide Faconti <davide.faconti@gmail.com> | 2018-05-07 13:43:31 +0200 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-07 06:46:59 -0700 |
| commit | d066d6d4307371f3bea1134a694dba18c381f564 (patch) | |
| tree | 5df3ee1e01e17cca19d0650056a2e0fc4b390297 /src/core | |
| parent | 935408fd8a794eecacc4a1f36a1d64bf8ed174c0 (diff) | |
| download | nng-d066d6d4307371f3bea1134a694dba18c381f564.tar.gz nng-d066d6d4307371f3bea1134a694dba18c381f564.tar.bz2 nng-d066d6d4307371f3bea1134a694dba18c381f564.zip | |
do not include files you won't need
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/transport.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/transport.c b/src/core/transport.c index 6c872b81..94e5caa1 100644 --- a/src/core/transport.c +++ b/src/core/transport.c @@ -9,12 +9,25 @@ // #include "core/nng_impl.h" + +#ifdef NNG_TRANSPORT_INPROC #include "transport/inproc/inproc.h" +#endif +#ifdef NNG_TRANSPORT_IPC #include "transport/ipc/ipc.h" +#endif +#ifdef NNG_TRANSPORT_TCP #include "transport/tcp/tcp.h" +#endif +#ifdef NNG_TRANSPORT_TLS #include "transport/tls/tls.h" +#endif +#ifdef NNG_TRANSPORT_WS #include "transport/ws/websocket.h" +#endif +#ifdef NNG_TRANSPORT_ZEROTIER #include "transport/zerotier/zerotier.h" +#endif #include <stdio.h> #include <string.h> |
