Skip to content

Commit

Permalink
um: add missing declaration of 'getrlimit()' and friends
Browse files Browse the repository at this point in the history
arch/um/os-Linux/start_up.c: In function 'check_coredump_limit':
arch/um/os-Linux/start_up.c:338:16: error: storage size of 'lim' isn't known
arch/um/os-Linux/start_up.c:339:2: error: implicit declaration of function 'getrlimit' [-Werror=implicit-function-declaration]

Signed-off-by: Sergei Trofimovich <[email protected]>
CC: Jeff Dike <[email protected]>
CC: Richard Weinberger <[email protected]>
CC: Al Viro <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]
Signed-off-by: Richard Weinberger <[email protected]>
  • Loading branch information
Sergei Trofimovich authored and richardweinberger committed Mar 11, 2013
1 parent 55ea1cf commit fdfa4c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/um/os-Linux/start_up.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <asm/unistd.h>
#include <init.h>
#include <os.h>
Expand Down

0 comments on commit fdfa4c9

Please sign in to comment.