Skip to content

Commit 869de71

Browse files
committed
Follow omnetpp changes related to include files.
Include platdep/sockets.h only from those source files which really need it.
1 parent 3257c97 commit 869de71

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

src/util/headerserializers/ICMPSerializer.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// along with this program; if not, see <http://www.gnu.org/licenses/>.
1616
//
1717

18+
#include "platdep/sockets.h"
1819
#include "headers/defs.h"
1920
namespace INETFw // load headers into a namespace, to avoid conflicts with platform definitions of the same stuff
2021
{

src/util/headerserializers/IPSerializer.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
//
1818

1919
#include <algorithm> // std::min
20+
#include "platdep/sockets.h"
2021
#include "headers/defs.h"
2122

2223
namespace INETFw // load headers into a namespace, to avoid conflicts with platform definitions of the same stuff

src/util/headerserializers/SCTPSerializer.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// along with this program; if not, see <http://www.gnu.org/licenses/>.
1717
//
1818

19+
#include "platdep/sockets.h"
1920
#include "headers/defs.h"
2021
namespace INETFw // load headers into a namespace, to avoid conflicts with platform definitions of the same stuff
2122
{

src/util/headerserializers/TCPSerializer.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919

2020
//Define_Module(TCPSerializer);
21+
#include "platdep/sockets.h"
2122
#include "TCPSerializer.h"
2223

2324
#include "IPProtocolId_m.h"

src/util/headerserializers/UDPSerializer.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// along with this program; if not, see <http://www.gnu.org/licenses/>.
1616
//
1717

18+
#include "platdep/sockets.h"
1819
#include "headers/defs.h"
1920
namespace INETFw // load headers into a namespace, to avoid conflicts with platform definitions of the same stuff
2021
{

0 commit comments

Comments
 (0)