Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

O_DIRECTORY undeclared (certhash.c) #23

Closed
kinichiro opened this issue Feb 27, 2015 · 1 comment
Closed

O_DIRECTORY undeclared (certhash.c) #23

kinichiro opened this issue Feb 27, 2015 · 1 comment

Comments

@kinichiro
Copy link

Hi,

I noticed that O_DIRECTORY isn't defined in hpux.

...
  CC       openssl-certhash.o
certhash.c: In function 'certhash_main':
certhash.c:661:25: error: 'O_DIRECTORY' undeclared (first use in this function)
certhash.c:661:25: note: each undeclared identifier is reported only once for each function it appears in
*** Error exit code 1

It seems that AIX doesn't have O_DIRECTORY, too.
http://marc.info/?l=openbsd-tech&m=142488231109861&w=2

Could you replace O_DIRECTORY with O_RDONLY ?

Thanks.

@busterb
Copy link

busterb commented Feb 27, 2015

Done! c5196a5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants