Skip to content
Snippets Groups Projects
Commit 9d3c0b1c authored by Jakub Jirůtka's avatar Jakub Jirůtka
Browse files

fix includes of wait.h and sys/fcntl.h to use standard locations

POSIX standard specifies that wait.h should be in sys/wait.h and
fcntl.h at top-level, not under sys. This is true for all unix systems,
even glibc. glibc provides wait.h and sys/fcntl.h, but these just
includes the same-named headers from the correct locations.
parent 797f8c31
Branches
Tags
1 merge request!26fix includes of wait.h and sys/fcntl.h to use standard locations
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include "MeasurementProvisioner.hpp" #include "MeasurementProvisioner.hpp"
#include "exception/CommonException.h" #include "exception/CommonException.h"
#include "sax/SaxParseInterface.h" #include "sax/SaxParseInterface.h"
#include <wait.h> #include <sys/wait.h>
#include <iostream> #include <iostream>
   
#include "MeasurementProvisionerUtils.hpp" #include "MeasurementProvisionerUtils.hpp"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
   
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/fcntl.h> #include <fcntl.h>
   
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION ( provisionerTest, "provisioner" ); CPPUNIT_TEST_SUITE_NAMED_REGISTRATION ( provisionerTest, "provisioner" );
CPPUNIT_TEST_SUITE_REGISTRATION ( provisionerTest ); CPPUNIT_TEST_SUITE_REGISTRATION ( provisionerTest );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment