header fixes for warnings

This commit is contained in:
Peter Thorson
2011-12-10 07:16:13 -06:00
parent 47095fb73c
commit 07cf4c9318
2 changed files with 8 additions and 3 deletions

View File

@@ -28,7 +28,9 @@
#ifndef WEBSOCKET_CONSTANTS_HPP
#define WEBSOCKET_CONSTANTS_HPP
#define __STDC_LIMIT_MACROS
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#include <stdint.h>
#include <string>

View File

@@ -31,6 +31,11 @@
#include "../endpoint.hpp"
#include "../uri.hpp"
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#include <stdint.h>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
@@ -38,8 +43,6 @@
#include <boost/random/random_device.hpp>
#include <iostream>
#define __STDC_LIMIT_MACROS
#include <stdint.h>
using boost::asio::ip::tcp;