Skip to content

Commit

Permalink
common: Fixing more Windows compilation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed Mar 25, 2024
1 parent 6dcb32a commit 9e1a4f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/inet/common/ExternalProcess.cc
Expand Up @@ -125,7 +125,7 @@ void ExternalProcess::startProcess()
rtScheduler->addCallback(processStderr, this);
}
#else
throw cRuntimeError("External processes are only supported on Linux");
throw cRuntimeError("External processes are only supported on Linux");
#endif
}

Expand Down
3 changes: 3 additions & 0 deletions src/inet/common/NetworkNamespaceContext.cc
Expand Up @@ -12,7 +12,10 @@

#include <cstdio>
#include <fcntl.h>

#ifdef __linux__
#include <sys/mount.h>
#endif

namespace inet {

Expand Down

0 comments on commit 9e1a4f9

Please sign in to comment.