Skip to content
Snippets Groups Projects
Commit 114aa5a8 authored by Nicolas Joly's avatar Nicolas Joly
Browse files

Fix compilation on NetBSD, which require sys/stat.h header file.

parent 088aee0b
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
* Created on: Jan 20, 2016 * Created on: Jan 20, 2016
* Author: vlegrand * Author: vlegrand
*/ */
#include <sys/stat.h>
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <fcntl.h> #include <fcntl.h>
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
* Author: vlegrand * Author: vlegrand
*/ */
#include <sys/stat.h>
#include <stdio.h> #include <stdio.h>
//#include <stdlib.h> //#include <stdlib.h>
#include <fcntl.h> #include <fcntl.h>
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
* Created on: Mar 14, 2016 * Created on: Mar 14, 2016
* Author: vlegrand * Author: vlegrand
*/ */
#include <sys/stat.h>
#include <cstdio> #include <cstdio>
#include <cassert> #include <cassert>
#include <unistd.h> #include <unistd.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment