http-socket.h: include cc.h instead of re-defining MAX
#define HTTP_SOCKET_H
#include "tcp-socket.h"
+#include "sys/cc.h"
struct http_socket;
@@ -62,8 +63,6 @@ typedef void (* http_socket_callback_t)(struct http_socket *s,
const uint8_t *data,
uint16_t datalen);
-#define MAX(n, m) (((n) < (m)) ? (m) : (n))
-
#define HTTP_SOCKET_INPUTBUFSIZE UIP_TCP_MSS
#define HTTP_SOCKET_OUTPUTBUFSIZE MAX(UIP_TCP_MSS, 128)
