X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fmain.c;h=ecb07f83ff378fb6c2c725220396642a68b551f5;hb=8ccde6b2cb998a1acb9d8074b25088d839cf658f;hp=9a7f8e1987a7d8a7def941e471df7f37bc500e79;hpb=40bedd131288dda1c09eab3442e133db6965523b;p=pspp diff --git a/src/ui/gui/main.c b/src/ui/gui/main.c index 9a7f8e1987..ecb07f83ff 100644 --- a/src/ui/gui/main.c +++ b/src/ui/gui/main.c @@ -22,22 +22,11 @@ #include #include #include -#if ENABLE_RELOCATABLE && defined(__APPLE__) #include +#if ENABLE_RELOCATABLE && defined(__APPLE__) static const bool apple_relocatable = true; #else static const bool apple_relocatable = false; -#if HAVE_SYS_RESOURCE_H -#include -#else -/* Dummy definitions to keep the compiler happy. */ -struct rlimit -{ - int rlim_cur; - int rlim_max; -}; -#define RLIMIT_NOFILE 0 -#endif #endif #include "language/lexer/include-path.h"