Skip to content

Commit

Permalink
Update nasa#285, correct include issues in network/socket
Browse files Browse the repository at this point in the history
  • Loading branch information
jphickey committed Apr 20, 2020
1 parent adfbec8 commit 87558a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion default_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# IP stack available, or to save code space if the application does
# not use network resources.
#
set(OSAL_CONFIG_INCLUDE_NETWORK FALSE)
set(OSAL_CONFIG_INCLUDE_NETWORK TRUE)


#
Expand Down
6 changes: 4 additions & 2 deletions src/os/portable/os-impl-bsd-sockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@
*/
#include <string.h>
#include <errno.h>
#include "os-impl.h"
#include "os-impl-sockets.h"

#include "os-impl-sockets.h"
#include "osapi-file-impl.h"
#include "osapi-select-impl.h"
#include "osapi-sockets-impl.h"

/****************************************************************************************
DEFINES
Expand Down
4 changes: 2 additions & 2 deletions src/os/portable/os-impl-posix-network.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
*/
#include <string.h>
#include <errno.h>
#include "os-impl.h"
#include "os-impl-network.h"

#include "os-impl-network.h"
#include "osapi-network-impl.h"

/****************************************************************************************
Network API
Expand Down

0 comments on commit 87558a7

Please sign in to comment.