Fix compilation on GCC-13 (#443)
* Fix compilation on GCC-13 GCC-13 changes internal cstdint includes, and now files that uses standart integer types should directly include cstdint header. See: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes Bug: https://bugs.gentoo.org/865117 Bug: https://bugs.gentoo.org/895440 * Convert line endings to Unix format
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							aa2ca19895
						
					
				
				
					commit
					9157873f5b
				
			| @@ -25,6 +25,7 @@ | ||||
|  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||||
|  */ | ||||
|  | ||||
| #include <cstdint> | ||||
| #include <string> | ||||
|  | ||||
| namespace macaron { | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include <chrono> | ||||
| #include <stdint.h> | ||||
| #include <cstdint> | ||||
| #include <string> | ||||
|  | ||||
| namespace ix | ||||
|   | ||||
| @@ -7,9 +7,9 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include <atomic> | ||||
| #include <cstdint> | ||||
| #include <functional> | ||||
| #include <memory> | ||||
| #include <stdint.h> | ||||
| #include <string> | ||||
|  | ||||
| namespace ix | ||||
|   | ||||
| @@ -12,6 +12,7 @@ | ||||
|  | ||||
| #include "IXCancellationRequest.h" | ||||
| #include <atomic> | ||||
| #include <cstdint> | ||||
| #include <memory> | ||||
| #include <mutex> | ||||
| #include <set> | ||||
|   | ||||
| @@ -9,6 +9,7 @@ | ||||
| #include "IXProgressCallback.h" | ||||
| #include "IXWebSocketHttpHeaders.h" | ||||
| #include <atomic> | ||||
| #include <cstdint> | ||||
| #include <tuple> | ||||
| #include <unordered_map> | ||||
|  | ||||
|   | ||||
| @@ -12,6 +12,7 @@ | ||||
| #include "IXUserAgent.h" | ||||
| #include "IXWebSocketHttpHeaders.h" | ||||
| #include <assert.h> | ||||
| #include <cstdint> | ||||
| #include <cstring> | ||||
| #include <iomanip> | ||||
| #include <random> | ||||
|   | ||||
| @@ -10,6 +10,7 @@ | ||||
| #include "IXNetSystem.h" | ||||
| #include "IXSocketConnect.h" | ||||
| #include "IXUserAgent.h" | ||||
| #include <cstdint> | ||||
| #include <cstring> | ||||
| #include <fstream> | ||||
| #include <sstream> | ||||
|   | ||||
| @@ -6,6 +6,8 @@ | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| #include <cstdint> | ||||
|  | ||||
| #ifdef _WIN32 | ||||
|  | ||||
| #ifndef WIN32_LEAN_AND_MEAN | ||||
|   | ||||
| @@ -6,8 +6,8 @@ | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| #include <cstdint> | ||||
| #include <memory> | ||||
| #include <stdint.h> | ||||
| #include <string> | ||||
|  | ||||
| namespace ix | ||||
|   | ||||
| @@ -5,8 +5,8 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include "IXSelectInterrupt.h" | ||||
| #include <cstdint> | ||||
| #include <mutex> | ||||
| #include <stdint.h> | ||||
| #include <string> | ||||
| #include <deque> | ||||
| #ifdef _WIN32 | ||||
|   | ||||
| @@ -7,6 +7,7 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include "IXSelectInterrupt.h" | ||||
| #include <cstdint> | ||||
| #include <mutex> | ||||
| #include <stdint.h> | ||||
| #include <string> | ||||
|   | ||||
| @@ -14,7 +14,6 @@ | ||||
| #include <array> | ||||
| #include <assert.h> | ||||
| #include <fcntl.h> | ||||
| #include <stdint.h> | ||||
| #include <stdio.h> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
|   | ||||
| @@ -7,6 +7,7 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include <atomic> | ||||
| #include <cstdint> | ||||
| #include <functional> | ||||
| #include <memory> | ||||
| #include <mutex> | ||||
|   | ||||
| @@ -14,6 +14,7 @@ | ||||
| #include "IXNetSystem.h" | ||||
| #include "IXSocket.h" | ||||
| #include "IXSocketConnect.h" | ||||
| #include <cstdint> | ||||
| #include <string.h> | ||||
|  | ||||
| #ifdef _WIN32 | ||||
|   | ||||
| @@ -16,6 +16,7 @@ | ||||
|  | ||||
| #include "IXUuid.h" | ||||
|  | ||||
| #include <cstdint> | ||||
| #include <iomanip> | ||||
| #include <random> | ||||
| #include <sstream> | ||||
|   | ||||
| @@ -13,6 +13,7 @@ | ||||
| #include "IXWebSocketHandshake.h" | ||||
| #include <cassert> | ||||
| #include <cmath> | ||||
| #include <cstdint> | ||||
|  | ||||
|  | ||||
| namespace | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| #include "IXWebSocketTransport.h" | ||||
| #include <atomic> | ||||
| #include <condition_variable> | ||||
| #include <cstdint> | ||||
| #include <mutex> | ||||
| #include <string> | ||||
| #include <thread> | ||||
|   | ||||
| @@ -46,6 +46,8 @@ | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include <cstdint> | ||||
|  | ||||
| #include "IXWebSocketPerMessageDeflate.h" | ||||
|  | ||||
| #include "IXUniquePtr.h" | ||||
|   | ||||
| @@ -10,6 +10,7 @@ | ||||
| #include "zlib.h" | ||||
| #endif | ||||
| #include <array> | ||||
| #include <cstdint> | ||||
| #include <string> | ||||
| #include <vector> | ||||
| #include "IXWebSocketSendData.h" | ||||
|   | ||||
| @@ -6,6 +6,7 @@ | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| #include <cstdint> | ||||
| #include <string> | ||||
|  | ||||
| namespace ix | ||||
|   | ||||
| @@ -6,6 +6,7 @@ | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| #include <cstdint> | ||||
| #include <string> | ||||
| #include <vector> | ||||
| #include <iterator> | ||||
|   | ||||
| @@ -45,7 +45,6 @@ | ||||
| #include <cstdarg> | ||||
| #include <cstdlib> | ||||
| #include <sstream> | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <string> | ||||
| #include <thread> | ||||
|   | ||||
| @@ -21,6 +21,7 @@ | ||||
| #include "IXWebSocketSendData.h" | ||||
| #include "IXWebSocketSendInfo.h" | ||||
| #include <atomic> | ||||
| #include <cstdint> | ||||
| #include <functional> | ||||
| #include <list> | ||||
| #include <memory> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user