summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-05-29 10:57:39 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-05-29 11:01:38 +0200
commit352f9f38083176489d935900a4ddc7abc62cf297 (patch)
tree8866ad73eddc0b62f9bbad55868867a21687c7db
parentc24d3376c306e2c1f6c893d597cf80ef40a40f4b (diff)
downloadouroboros-0.11.8.tar.gz
ouroboros-0.11.8.zip
ipcpd: Include string for memset in graph.c0.11.8
The memset function was used without including <string.h>, which some compilers complain about. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/ipcpd/normal/pol/graph.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 090a03fa..af051078 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ include(GNUInstallDirs)
set(PACKAGE_VERSION_MAJOR 0)
set(PACKAGE_VERSION_MINOR 11)
-set(PACKAGE_VERSION_PATCH 7)
+set(PACKAGE_VERSION_PATCH 8)
set(PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
set(PACKAGE_DESCRIPTION "The Ouroboros prototype")
diff --git a/src/ipcpd/normal/pol/graph.c b/src/ipcpd/normal/pol/graph.c
index 5aed1e9a..f3c053ab 100644
--- a/src/ipcpd/normal/pol/graph.c
+++ b/src/ipcpd/normal/pol/graph.c
@@ -35,6 +35,7 @@
#include <pthread.h>
#include <stdlib.h>
#include <limits.h>
+#include <string.h>
struct edge {
struct list_head next;