]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
vol: remove warning on use of DFlushVolume
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 5 Mar 2011 19:29:38 +0000 (14:29 -0500)
committerDerrick Brashear <shadow@dementix.org>
Fri, 16 Dec 2011 10:57:14 +0000 (02:57 -0800)
Include the afs/dir.h header on Windows to avoid
warnings caused by the missing prototype.

Reviewed-on: http://gerrit.openafs.org/4148
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit d69da816c6e961ef5e22df289ad5667cd8568b4c)

Change-Id: I1f128f676a6d099b2d9534e28c6302de78b0ff2d
Reviewed-on: http://gerrit.openafs.org/6273
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/vol/volume.c

index ad5c1475d1d6fa3f28d2731ff82a739eb268c7a3..ea21820962dc872c530e6bbe5182fe072549e555 100644 (file)
 #include "common.h"
 #include "afs/afs_assert.h"
 #include "vutils.h"
-#ifndef AFS_NT40_ENV
 #include <afs/dir.h>
+#ifndef AFS_NT40_ENV
 #include <unistd.h>
 #endif