From de366b9e522ee084a318aaca25c3dd916b5114db Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Mon, 25 Feb 2002 22:41:02 +0000 Subject: Merge of xfs-cmds-2.4.18:slinx:112273a by nathans. sync up with patch from AndreasG, mainly creates libattr.rpm/deb. --- libattr/Makefile | 4 +++- libattr/libattr.c | 4 ++-- libattr/syscalls.c | 5 +++++ 3 files changed, 10 insertions(+), 3 deletions(-) (limited to 'libattr') diff --git a/libattr/Makefile b/libattr/Makefile index f1b6e58..2307802 100644 --- a/libattr/Makefile +++ b/libattr/Makefile @@ -45,7 +45,9 @@ default: $(LTLIBRARY) include $(BUILDRULES) -install: default +install: + +install-lib: default $(INSTALL_LTLIB) install-dev: default diff --git a/libattr/libattr.c b/libattr/libattr.c index e820a39..1ce22f9 100644 --- a/libattr/libattr.c +++ b/libattr/libattr.c @@ -38,8 +38,8 @@ #include #include -#include -#include +#include +#include #undef MAXNAMELEN #define MAXNAMELEN 256 diff --git a/libattr/syscalls.c b/libattr/syscalls.c index 75b8b94..7a4ba4c 100644 --- a/libattr/syscalls.c +++ b/libattr/syscalls.c @@ -31,6 +31,11 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ +/* + * The use of the syscall() function is an additional level of + * indirection. For now, this avoids the dependency on kernel sources, though. + */ + #include #if defined(__i386__) -- cgit v1.2.3