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

make opt fails - missing rlim_cur field #8158

Closed
vicuna opened this issue Jun 1, 2003 · 1 comment
Closed

make opt fails - missing rlim_cur field #8158

vicuna opened this issue Jun 1, 2003 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jun 1, 2003

Original bug ID: 1699
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Christopher Dutchyn
Version: 3.06+27 (anon-cvs)
OS: FreeBSD
Submission from: bnhu530ey3144.bc.hsia.telus.net (142.173.20.174)

Compilation of asmrun/signals.c fails with warnings of incomplete types and
syntax errors in <sys/resources.h>, eventually failing with "missing field
rlim_cur" in line 566 of signals.c. The problem is that struct timeval is
not defined yet because the appropriate include file is not present yet.
A patch is attached:

*** sig.c Sun Jun 1 14:15:52 2003
--- signals.c Sun Jun 1 13:59:17 2003


*** 29,34 ****
--- 29,35 ----
#include "stack.h"
#include "sys.h"
#ifdef HAS_STACK_OVERFLOW_DETECTION

  • #include <sys/time.h> /* CJD for FreeBSD 5 */
    #include <sys/resource.h>
    #endif

Chris D.

@vicuna
Copy link
Author

vicuna commented Jun 2, 2003

Comment author: administrator

Fixed as proposed 2003-06-02 by XL

@vicuna vicuna closed this as completed Jun 2, 2003
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant