Skip to content

Commit

Permalink
aws-c-io platform.h should include aws-c-common platform.h to setup OS
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Oct 4, 2024
1 parent e102c32 commit cde0b76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/aws/io/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#ifndef AWS_IO_PLATFORM_H
#define AWS_IO_PLATFORM_H
#include <aws/common/platform.h>

/* iOS and tvOS should use both AWS_USE_DISPATCH_QUEUE and AWS_USE_SECITEM. */
#if defined(AWS_OS_IOS) || defined(AWS_OS_TVOS)
Expand Down
2 changes: 1 addition & 1 deletion source/event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
* SPDX-License-Identifier: Apache-2.0.
*/

#include <aws/io/platform.h>
#include <aws/io/event_loop.h>

#include <aws/common/clock.h>
#include <aws/common/device_random.h>
#include <aws/common/system_info.h>
#include <aws/common/thread.h>
#include <aws/io/platform.h>

#ifdef __APPLE__
// DEBUG WIP we may need to wrap this for iOS specific
Expand Down
2 changes: 1 addition & 1 deletion source/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* SPDX-License-Identifier: Apache-2.0.
*/

#include <aws/io/private/socket.h>
#include <aws/io/platform.h>
#include <aws/io/private/socket.h>

struct aws_socket_options aws_socket_options_default_tcp_ipv6(enum aws_event_loop_style el_style) {
struct aws_socket_options options = {
Expand Down

0 comments on commit cde0b76

Please sign in to comment.