aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-04-26 14:37:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-04-26 14:37:43 +0200
commit0958aa73aab5d71c73771cf989c66d3b8d7bb6b8 (patch)
treef2dcb3826e5b580aadc02f5600b29ab97d8c3202
parenta65370dbbcafecedcedb4619a6a07a02ec2ff721 (diff)
downloaddabmod-0958aa73aab5d71c73771cf989c66d3b8d7bb6b8.tar.gz
dabmod-0958aa73aab5d71c73771cf989c66d3b8d7bb6b8.tar.bz2
dabmod-0958aa73aab5d71c73771cf989c66d3b8d7bb6b8.zip
Move include unistd.h from Buffer.h to cpp
-rw-r--r--src/Buffer.cpp1
-rw-r--r--src/Buffer.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 20f71f9..2c4b171 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -28,6 +28,7 @@
#include "Buffer.h"
#include "PcDebug.h"
+#include <unistd.h>
#include <string>
#include <stdexcept>
#include <cstdlib>
diff --git a/src/Buffer.h b/src/Buffer.h
index d181a46..af52e93 100644
--- a/src/Buffer.h
+++ b/src/Buffer.h
@@ -31,7 +31,6 @@
# include <config.h>
#endif
-#include <unistd.h>
#include <vector>
#include <memory>