aboutsummaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2015-09-27 22:27:47 +0200
committerAlexey Kardashevskiy <aik@ozlabs.ru>2015-09-30 15:10:58 +1000
commitcdd5077650eed93a343bc6d9a541b1dfc5e58179 (patch)
treee3902327d30bd22f004abdce868e3a4f57d8012b /clients
parent1c9af10b8a389c4c67e6154cf0b347751275749c (diff)
downloadSLOF-cdd5077650eed93a343bc6d9a541b1dfc5e58179.zip
SLOF-cdd5077650eed93a343bc6d9a541b1dfc5e58179.tar.gz
SLOF-cdd5077650eed93a343bc6d9a541b1dfc5e58179.tar.bz2
takeover: Fix header includes
The ioctl.h header has been removed with commit 6495aef5b625b9ddae ("net-snk: Remove module system"), so it can not be included in the takeover client anymore. Thus remove the include statement (which is no problem since the takeover client does not use ioctls anyway). Include unistd.h instead, to avoid that the compiler is printing out a warning about a missing prototype of the function sbrk(). Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'clients')
-rw-r--r--clients/takeover/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/takeover/main.c b/clients/takeover/main.c
index 360d8ea..1e1b026 100644
--- a/clients/takeover/main.c
+++ b/clients/takeover/main.c
@@ -16,7 +16,7 @@
#include <of.h>
#include <pci.h>
#include <cpu.h>
-#include <ioctl.h>
+#include <unistd.h>
#include <takeover.h>
extern void call_client_interface(of_arg_t *);