ioctl: avoid warning: no previous prototype for 'rpl_ioctl'
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 19 Jan 2009 07:04:27 +0000 (08:04 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 19 Jan 2009 10:49:07 +0000 (11:49 +0100)
* lib/ioctl.c: Include <sys/ioctl.h>.

ChangeLog
lib/ioctl.c

index a4e7643..fde11b5 100644 (file)
--- 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.
index a23d363..6b856e1 100644 (file)
@@ -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