From: Marc Dionne Date: Wed, 15 May 2013 19:19:22 +0000 (-0400) Subject: Linux 3.10: Include linux/aio.h directly X-Git-Tag: upstream/1.6.3^2~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2bbd762c57003a9340d52edd517bc7540b1b2d8d;p=packages%2Fo%2Fopenafs.git Linux 3.10: Include linux/aio.h directly This file needs bits from linux/aio.h, but gets them indirectly from the inclusion of aio.h by sched.h. That gets removed for Linux 3.10. Since this header is not of general interest elsewhere, just include it directly here. Reviewed-on: http://gerrit.openafs.org/9912 Reviewed-by: Derrick Brashear Reviewed-by: Andrew Deason Tested-by: BuildBot (cherry picked from commit fca4252621b80c5126e1ae3d84a54da5ebc677ba) Change-Id: I7da471ee033087592b9ec3f10331baf0135cc201 Reviewed-on: http://gerrit.openafs.org/9947 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Stephan Wiesand --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index f8db123c1..fa0ad91be 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -32,6 +32,7 @@ #include #include #include +#include #include "afs/lock.h" #include "afs/afs_bypasscache.h"