OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2308-g12eb3e2
Gerrit Code Review
gerrit@openafs.org
Sat, 7 Apr 2012 06:24:39 -0700 (PDT)
The following commit has been merged in the master branch:
commit 12eb3e26a3149527997ca6039ebdeb7cafbf9012
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Apr 7 13:26:25 2012 +0100
tools: Add roken.h to afsdump
On AIX, building afsdump currently produces the following warnings:
"afsdump_scan.c", line 34.10: 1506-296 (S) #include file <sys/fcntl.h> not found.
"afsdump_scan.c", line 275.32: 1506-045 (S) Undeclared identifier O_RDWR.
"afsdump_scan.c", line 275.41: 1506-045 (S) Undeclared identifier O_CREAT.
"afsdump_scan.c", line 275.51: 1506-045 (S) Undeclared identifier O_TRUNC.
"afsdump_scan.c", line 305.29: 1506-045 (S) Undeclared identifier O_RDONLY.
Rather than including more platform specific goo, just add a roken.h
include to the various files to pull in the necessary headers.
Change-Id: I46db92511c804cfc9b5d67b97cd3596480d306d6
Reviewed-on: http://gerrit.openafs.org/7117
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/tools/afsdump_dirlist.c | 6 ++----
src/tools/afsdump_extract.c | 7 +------
src/tools/afsdump_scan.c | 5 +----
src/tools/afsdump_xsed.c | 10 +++++-----
4 files changed, 9 insertions(+), 19 deletions(-)
--
OpenAFS Master Repository