summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/ioctl.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a4e7643b3e..fde11b55c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-19 Daniel P. Berrange <berrange@redhat.com>
+
+ ioctl: avoid warning: no previous prototype for 'rpl_ioctl'
+ * lib/ioctl.c: Include <sys/ioctl.h>.
+
2009-01-19 Simon Josefsson <simon@josefsson.org>
* modules/getdate-tests (Depends-on): Add progname.
diff --git a/lib/ioctl.c b/lib/ioctl.c
index a23d363bc5..6b856e1e10 100644
--- a/lib/ioctl.c
+++ b/lib/ioctl.c
@@ -1,6 +1,6 @@
/* ioctl.c --- wrappers for Windows ioctl function
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008, 2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,6 +19,7 @@
#include <config.h>
+#include <sys/ioctl.h>
#include <stdarg.h>
#define WIN32_LEAN_AND_MEAN