diff options
Diffstat (limited to 'http-server/common.h')
-rw-r--r-- | http-server/common.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/http-server/common.h b/http-server/common.h index 580f8a41..3d88fc42 100644 --- a/http-server/common.h +++ b/http-server/common.h @@ -13,20 +13,12 @@ * limitations under the License. */ -#ifndef ICN_WEB_SERVER_COMMON_H_ -#define ICN_WEB_SERVER_COMMON_H_ +#pragma once #include "config.h" -#if defined(HICNET) - #include <hicnet/hicnet_http_facade.h> - #include <hicnet/hicnet_utils_hash.h> -#elif defined(ICNET) - #include <icnet/icnet_http_facade.h> - #include <icnet/icnet_utils_hash.h> -#else - #error "No ICN tranport library to which link against." -#endif +#include <icnet/icnet_http_facade.h> +#include <icnet/icnet_utils_hash.h> #include <boost/asio.hpp> #include <boost/regex.hpp> @@ -45,5 +37,3 @@ typedef boost::asio::ip::tcp::socket socket_type; typedef std::function<void(const boost::system::error_code &)> SendCallback; - -#endif // ICN_WEB_SERVER_COMMON_H_ |