fedora-devel-list
[Prev] Thread [Next] | [Prev] Date [Next]
Re: unable to include capability.h Bill Crawford Fri Jun 12 08:00:40 2009
Kyle McMartin wrote: ...
Someone else suggested including <sys/types.h> first, which should work around it. That's what GNU coreutils did... (a change in the include ordering broke it.)
I'm surprised the man page for cap_get_flag etc don't show an include of <sys/types.h> before <sys/capability.h> ... many system call man pages do e.g. --
NAME
open, creat - open and possibly create a file or device
SYNOPSIS
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int open(const char *pathname, int flags);
int open(const char *pathname, int flags, mode_t mode);
int creat(const char *pathname, mode_t mode);
--
fedora-devel-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/fedora-devel-list
- unable to include capability.h Daniel Lezcano
- Re: unable to include capability.h Jussi Lehtola
- Re: unable to include capability.h Daniel P. Berrange
- Re: unable to include capability.h Ondřej Vašík
- Re: unable to include capability.h Kyle McMartin
- Re: unable to include capability.h Daniel Lezcano
- Re: unable to include capability.h Kyle McMartin
- Re: unable to include capability.h Daniel Lezcano
- Re: unable to include capability.h Kyle McMartin
- Re: unable to include capability.h Bill Crawford <=
- Re: unable to include capability.h Steve Grubb
- Re: unable to include capability.h Daniel Lezcano