diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-10-23 15:30:36 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-10-23 15:30:36 +0900 |
commit | 47696467c8288fbc10a46b65762343d90545ca15 (patch) | |
tree | f2137fc469c5ae2f48ad695df7c1009c51ba111c | |
parent | d208c9cb79b228fd48d9f7adef432486389e1abe (diff) | |
download | icecream-accepted/tizen_2.4_base.tar.gz icecream-accepted/tizen_2.4_base.tar.bz2 icecream-accepted/tizen_2.4_base.zip |
tizen 2.4 releasetizen_2.4_mobile_releasesubmit/tizen_2.4_base/20151026.091133submit/tizen_2.4_base/20151026.090024accepted/tizen/2.4/base/20151026.114242tizen_2.4_baseaccepted/tizen_2.4_base
-rw-r--r-- | mans/icecc.1 | 45 | ||||
-rw-r--r-- | mans/iceccd.1 | 105 | ||||
-rw-r--r-- | mans/icecream.7 | 218 | ||||
-rw-r--r-- | mans/scheduler.1 | 75 | ||||
-rwxr-xr-x | packaging/icecream-manpages.tar.bz2 | bin | 0 -> 5671 bytes | |||
-rwxr-xr-x[-rw-r--r--] | packaging/icecream.changes | 29 | ||||
-rwxr-xr-x[-rw-r--r--] | packaging/icecream.spec | 12 | ||||
-rwxr-xr-x | packaging/rusage.patch | 10 |
8 files changed, 45 insertions, 449 deletions
diff --git a/mans/icecc.1 b/mans/icecc.1 deleted file mode 100644 index 514f48d..0000000 --- a/mans/icecc.1 +++ /dev/null @@ -1,45 +0,0 @@ -.\"Generated by db2man.xsl. Don't modify this, modify the source. -.de Sh \" Subsection -.br -.if t .Sp -.ne 5 -.PP -\fB\\$1\fR -.PP -.. -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Ip \" List item -.br -.ie \\n(.$>=3 .ne \\$3 -.el .ne 3 -.IP "\\$1" \\$2 -.. -.TH "ICECREAM COMPILER" 1 "April 21th, 2005" "Icecream" "Icecream User's Manual" -.SH NAME -icecc \- Icecream compiler stub -.SH "SYNOPSIS" -.ad l -.hy 0 -.HP 6 -\fBicecc\fR [\fBoptions\fR] [\-o\ OBJECT] [\-c\ SOURCE] -.ad -.hy - -.SH "DESCRIPTION" - -.PP -icecc is the Icecream compiler stub\&. It gets called in place of the actual compiler and transparently routes the compile requests to the Icecream network\&. You shouldn't call icecc directly, but place the specific compiler stubs in your path: \fBexport PATH=/opt/icecream/bin:$PATH\fR\&. - -.SH "SEE ALSO" - -.PP -icecream, scheduler, iceccd, icemon - -.SH "AUTHOR" - -.PP -Cornelius Schumacher - diff --git a/mans/iceccd.1 b/mans/iceccd.1 deleted file mode 100644 index 1a51789..0000000 --- a/mans/iceccd.1 +++ /dev/null @@ -1,105 +0,0 @@ -.\"Generated by db2man.xsl. Don't modify this, modify the source. -.de Sh \" Subsection -.br -.if t .Sp -.ne 5 -.PP -\fB\\$1\fR -.PP -.. -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Ip \" List item -.br -.ie \\n(.$>=3 .ne \\$3 -.el .ne 3 -.IP "\\$1" \\$2 -.. -.TH "ICECREAM DAEMON" 1 "April 21th, 2005" "Icecream" "Icecream User's Manual" -.SH NAME -iceccd \- Icecream daemon -.SH "SYNOPSIS" -.ad l -.hy 0 -.HP 7 -\fBiceccd\fR [\fB\-n\ \fInetname\fR\fR] [\fB\-m\ \fImax_processes\fR\fR] [\fB\-\-no\-remote\fR] [\fB\-w\fR] [\fB\fB\-d\fR\fR | \fB\fB\-\-daemonize\fR\fR] [\fB\-l\ \fIlogfile\fR\fR] [\fB\-s\ \fIschedulerhost\fR\fR] [\-v\ [v\ [v]]] [\fB\fB\-r\fR\fR | \fB\fB\-\-run\-as\-user\fR\fR] [\fB\-b\ \fIenv\-basedir\fR\fR] [\fB\fB\-u\fR\fR | \fB\fB\-\-nobody\-uid\fR\fR\fI nobodyuid\fR] [\fB\-\-cache\-limit\ \fIMB\fR\fR] [\fB\-N\ \fIhostname\fR\fR] -.ad -.hy - -.SH "DESCRIPTION" - -.PP -The Icecream daemon has to run on all nodes being part of the Icecream compile cluster\&. It receives compile jobs and executes them in a chroot environment\&. The compile clients send their compile environment the first time they send a job to a particular daemon, so that the environment of the daemon doesn't have to match the one of the client\&. - -.PP -The daemon also has to run on clients sending compile jobs to the Icecream network\&. If a node should be able to send compile jobs, but never receive any, start the daemon with the option \-m 0\&. - -.PP -All Icecream daemons need to have contact to the Icecream scheduler which controls the distribution of data between compile nodes\&. Normally the daemon will automatically find the right scheduler\&. If this is not the case you can explicitly specify the name of the Icecream network and the host running the scheduler\&. - -.SH "OPTIONS" - -.TP -\fB\-n\fR \fInetname\fR -The name of the icecream network the daemon should connect to\&. There has to be a scheduler running for the network under the same network name\&. - -.TP -\fB\-m\fR \fImax_processes\fR -Maximum number of compile jobs started in parallel on machine running the daemon\&. - -.TP -\fB\-\-no\-remote\fR -Prevents jobs from other nodes being scheduled on this one\&. - -.TP -\fB\-w\fR - - -.TP -\fB\-d\fR, \fB\-\-daemonize\fR -Detach daemon from shell\&. - -.TP -\fB\-l\fR \fIlogfile\fR -Name of file where log output is written to\&. - -.TP -\fB\-s\fR \fIscheduler_host\fR -Name of host running the scheduler for the network the daemon should connect to\&. This option might help if the scheduler can't broadcast its presence to the clients due to firewall settings or similar reasons\&. - -.TP -\fB\-v\fR, \fB\-vv\fR, \fB\-vvv\fR -Control verbosity of daemon\&. The more v the more verbose\&. - -.TP -\fB\-r\fR, \fB\-\-run\-as\-user\fR -Force running the daemon with user rights\&. Usually you will need to run the daemon with root rights\&. - -.TP -\fB\-b\fR \fIenv_basedir\fR -Base directory for storing compile environments sent to the daemon by the compile clients\&. - -.TP -\fB\-u\fR, \fB\-\-nobody\-uid\fR \fInobodyuid\fR -Id of user nobody\&. This user id is used when the daemon is dropping privileges\&. - -.TP -\fB\-\-cache\-limit\fR \fIMB\fR -Maximum size in Mega Bytes of cache used to store compile environments of compile clients\&. - -.TP -\fB\-N\fR \fIhostname\fR -The name of the icecream host on the network\&. - -.SH "SEE ALSO" - -.PP -icecream, scheduler, iceccd, icemon - -.SH "AUTHOR" - -.PP -Cornelius Schumacher - diff --git a/mans/icecream.7 b/mans/icecream.7 deleted file mode 100644 index a8fe9f3..0000000 --- a/mans/icecream.7 +++ /dev/null @@ -1,218 +0,0 @@ -.\"Generated by db2man.xsl. Don't modify this, modify the source. -.de Sh \" Subsection -.br -.if t .Sp -.ne 5 -.PP -\fB\\$1\fR -.PP -.. -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Ip \" List item -.br -.ie \\n(.$>=3 .ne \\$3 -.el .ne 3 -.IP "\\$1" \\$2 -.. -.TH "ICECREAM" 7 "April 21th, 2005" "Icecream" "Icecream User's Manual" -.SH NAME -Icecream \- A distributed compile system -.SH "DESCRIPTION" - -.PP -Icecream is a distributed compile system for C and C++\&. - -.PP -Icecream is created by SUSE and is based on ideas and code by distcc\&. Like distcc it takes compile jobs from your (KDE) build and distributes it to remote machines allowing a parallel build on several machines you've got\&. But unlike distcc Icecream uses a central server that schedules the compile jobs to the fastest free server and is as this dynamic\&. This advantage pays off mostly for shared computers, if you're the only user on x machines, you have full control over them anyway\&. - -.SH "HOW TO USE ICECREAM" - -.PP -You need: - -.TP 3 -\(bu -One machine that runs the scheduler ("\&./scheduler \-d") -.TP -\(bu -Many machines that run the daemon ("\&./iceccd \-d") -.LP - -.PP -If you want to compile using icecream, make sure $prefix/bin is the first first entry in your path, e\&.g\&. type \fBexport PATH=/opt/icecream/bin:$PATH\fR (Hint: put this in ~/\&.bashrc or /etc/profile to not have to type it in everytime) - -.PP -Then you just compile with \fBmake \-j <num>\fR, where <num> is the amount of jobs you want to compile in parallel\&. Don't exaggerate\&. Numbers greater than 15 normally cause trouble\&. - -.PP -WARNING: Never use icecream in untrusted environments\&. Run the deamons and the scheduler as unpriviliged user in such networks if you have to! But you will have to rely on homogeneous networks then (see below)\&. - -.PP -If you want funny stats, you might want to run "icemon"\&. - -.SH "USING ICECREAM IN HETEROGENEOUS ENVIRONMENTS" - -.PP -If you are running icecream daemons (note: they _all_ must be running as root\&. In the future icecream might gain the ability to know when machines can't accept a different env, but for now it is all or nothing ) in the same icecream network but on machines with incompatible compiler versions you have to tell icecream which environment you are using\&. Use \fBicecc \-\-build\-native\fR to create an archive file containing all the files necessary to setup the compiler environment\&. The file will have a random unique name like "ddaea39ca1a7c88522b185eca04da2d8\&.tar\&.bz2" per default\&. Rename it to something more expressive for your convenience, e\&.g\&. "i386\-3\&.3\&.1\&.tar\&.bz2"\&. Set \fBICECC_VERSION=<filename_of_archive_containing_your_environment>\fR in the shell environment where you start the compile jobs and the file will be transfered to the daemons where your compile jobs run and installed to a chroot environment for executing the compile jobs in the environment fitting to the environment of the client\&. This requires that the icecream deamon runs as root\&. - -.PP -If you do not set ICECC_VERSION, the client will use a tar ball provided by the daemon running on the same machine\&. So you can always be sure you're not tricked by incompatible gcc versions \- and you can share your computer with users of other distributions (or different versions of your beloved SUSE Linux :) - -.SH "CROSS-COMPILING USING ICECREAM" - -.PP -SUSE got quite some good machines not having a processor from Intel or AMD, so icecream is pretty good in using cross\-compiler environments similiar to the above way of spreading compilers\&. There the ICECC_VERSION varaible looks like <native_filename>(,<platform>:<cross_compiler_filename>)*, for example like this: /work/9\&.1\-i386\&.tar\&.bz2,ia64:/work/9\&.1\-cross\-ia64\&.tar\&.bz2 - -.PP -How to package such a cross compiler is pretty straightforward if you look what's inside the tarballs generated by \fBicecc \-\-build\-native\fR\&. - -.SH "CROSS-COMPILING FOR EMBEDDED TARGETS USING ICECREAM" - -.PP -When building for embedded targets like ARM often you'll have a toolchain that runs on your host and produces code for the target\&. In these situations you can exploit the power of icecream as well\&. - -.PP -Create symlinks from where icecc is to the name of your cross compilers (e\&.g\&. arm\-linux\-g++ and arm\-linux\-gcc), make sure that these symlinks are in the path and before the path of your toolchain, with \fI$ICECC_CC\fR and \fI$ICECC_CXX\fR you need to tell icecream which compilers to use for preprocessing and local compiling\&. e\&.g\&. set it to \fBICECC_CC=arm\-linux\-gcc\fR and \fBICECC_CXX=arm\-linux\-g++\fR\&. - -.PP -As the next step you need to create a \&.tar\&.bz2 of your cross compiler, check the result of build\-native to see what needs to be present\&. - -.PP -Finally one needs to set \fIICECC_VERSION\fR and point it to the tar\&.bz2 you've created\&. When you start compiling your toolchain will be used\&. - -.PP -NOTE: with \fIICECC_VERSION\fR you point out on which platforms your toolchain runs, you do not indicate for which target code will be generated\&. - -.SH "HOW TO COMBINE ICECREAM WITH CCACHE" - -.PP -The easiest way to use ccache with icecream is putting the symlink masquerades into /opt/icream/bin and putting small wrapper scripts in /opt/ccache/bin - -.IP - - cat /opt/ccache/bin/g++: - - #! /bin/sh - - export CCACHE_PATH=/opt/icecream/bin - export PATH=/opt/icecream/bin:/usr/bin:$PATH - ccache g++ "$@" - - -.PP -Then you can replace /opt/icecream/bin with /opt/ccache/bin in your \fI$PATH\fR and all icecream calls will go through ccache (and Qt will compile in 62s :) - -.PP -Note however that ccache isn't really worth the trouble if you're not recompiling your KDE three times a day from scratch (it adds quite some overhead in comparing the preprocessor output and uses quite some disc space and I found a cache hit of 18% a bit too few, so I disabled it again)\&. - -.SH "DEBUG OUTPUT" - -.PP -You can use the environment variable \fIICECC_DEBUG\fR to control if icecream gives debug output or not\&. Set it to debug to get debug output\&. The other possible values are error, warning and info (the \-v option for daemon and scheduler raise the level per \-v on the command line \- so use \-vvv for full debug)\&. - -.SH "SOME NUMBERS" - -.PP -Numbers of my test case (some STL C++ genetic algorithm) - -.TP 3 -\(bu -g++ on my machine: 1\&.6s -.TP -\(bu -g++ on fast machine: 1\&.1s -.TP -\(bu -icecream using my machine as remote machine: 1\&.9s -.TP -\(bu -icecream using fast machine: 1\&.8s -.LP - - -.PP -The icecream overhead is quite huge as you might notice, but the compiler can't interleave preprocessing with compilation and the file needs to be read/written once more and in between the file is transfered\&. - -.PP -But even if the other computer is faster, using g++ on my local machine is faster\&. If you're (for whatever reason) alone in your network at some point, you loose all advantages of distributed compiling and only add the overhead\&. So icecream got a special case for local compilations (the same special meaning that localhost got within $DISTCC_HOSTS)\&. This makes compiling on my machine using icecream down to 1\&.7s (the overhead is actually less than 0\&.1s in average)\&. - -.PP -As the scheduler is aware of that meaning, it will prefer your own computer if it's free and got not less than 70% of the fastest available computer\&. - -.PP -Keep in mind, that this affects only the first compile job, the second one is distributed anyway\&. So if I had to compile two of my files, I would get - -.TP 3 -\(bu -g++ \-j1 on my machine: 3\&.2s -.TP -\(bu -g++ \-j1 on the fast machine: 2\&.2s -.TP -\(bu -using icecream \-j2 on my machine: max(1\&.7,1\&.8)=1\&.8s -.TP -\(bu -(using icecream \-j2 on the other machine: max(1\&.1,1\&.8)=1\&.8s) -.LP - - -.PP -The math is a bit tricky and depends a lot on the current state of the compilation network, but make sure you're not blindly assuming make \-j2 halfs your compilation time\&. - -.SH "WHAT IS THE BEST ENVIRONMENT FOR ICECREAM" - -.PP -In most requirements icecream isn't special, e\&.g\&. it doesn't matter what distributed compile system you use, you won't have fun if your nodes are connected through than less or equal to 10MBit\&. Note that icecream compresses input and output files (using lzo), so you can calc with ~1MBit per compile job \- i\&.e more than make \-j10 won't be possible without delays\&. - -.PP -Remember that more machines are only good if you can use massive parallelization, but you will for sure get the best result if your submitting machine (the one you called g++ on) will be fast enough to feed the others\&. Especially if your project consists of many easy to compile files, the preprocessing and file IO will be job enough to need a quick machine\&. - -.PP -The scheduler will try to give you the fastest machines available, so even if you add old machines, they will be used only in exceptional situations, but still you can have bad luck \- the scheduler doesn't know how long a job will take before it started\&. So if you have 3 machines and two quick to compile and one long to compile source file, you're not safe from a choice where everyone has to wait on the slow machine\&. Keep that in mind\&. - -.SH "NETWORK SETUP FOR ICECREAM (FIREWALLS)" - -.PP -A short overview of the ports icecream requires: - -.TP 3 -\(bu -TCP/10245 on the daemon computers (required) -.TP -\(bu -TCP/8765 for the the scheduler computer (required) -.TP -\(bu -TCP/8766 for the telnet interface to the scheduler (optional) -.TP -\(bu -UDP/8765 for broadcast to find the scheduler (optional) -.LP - - -.PP -Note that the SuSEfirewall2 on SUSE < 9\&.1 got some problems configuring broadcast\&. So you might need the \-s option for the daemon in any case there\&. If the monitor can't find the scheduler, use USE_SCHEDULER=<host> icemon (or send me a patch :) - -.SH "SEE ALSO" - -.PP -icecream, scheduler, iceccd, icemon - -.SH "ICECREAM AUTHORS" - -.PP -Stephan Kulow <coolo@suse\&.de> - -.PP -Michael Matz <matz@suse\&.de> - -.PP -Cornelius Schumacher <cschum@suse\&.de> - -.PP -\&.\&.\&.and various other contributors\&. - diff --git a/mans/scheduler.1 b/mans/scheduler.1 deleted file mode 100644 index 564daba..0000000 --- a/mans/scheduler.1 +++ /dev/null @@ -1,75 +0,0 @@ -.\"Generated by db2man.xsl. Don't modify this, modify the source. -.de Sh \" Subsection -.br -.if t .Sp -.ne 5 -.PP -\fB\\$1\fR -.PP -.. -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Ip \" List item -.br -.ie \\n(.$>=3 .ne \\$3 -.el .ne 3 -.IP "\\$1" \\$2 -.. -.TH "ICECREAM" 1 "April 21th, 2005" "Icecream" "Icecream User's Manual" -.SH NAME -scheduler \- Icecream scheduler -.SH "SYNOPSIS" -.ad l -.hy 0 -.HP 10 -\fBscheduler\fR [\fB\fB\-n\fR\fR | \fB\fB\-\-netname\fR\fR\fI name\fR] [\fB\fB\-p\fR\fR | \fB\fB\-\-port\fR\fR\fI port\fR] [\fB\fB\-h\fR\fR | \fB\fB\-\-help\fR\fR] [\fB\fB\-l\fR\fR | \fB\fB\-\-log\-file\fR\fR\fI file\fR] [\fB\fB\-d\fR\fR | \fB\fB\-\-daemonize\fR\fR] [\fB\fB\-r\fR\fR | \fB\fB\-\-allow\-run\-as\-user\fR\fR] [\-v\ [v\ [v]]] -.ad -.hy - -.SH "DESCRIPTION" - -.PP -The Icecream scheduler is the central instance of an Icecream compile network\&. It distributes the compile jobs and provides the data for the monitors\&. - -.SH "OPTIONS" - -.TP -\fB\-n\fR, \fB\-\-netname\fR \fInetname\fR -The name of the Icecream network the scheduler controls\&. - -.TP -\fB\-p\fR, \fB\-\-port\fR \fIport\fR -IP port the scheduler uses\&. - -.TP -\fB\-h\fR, \fB\-\-help\fR -Print help message\&. - -.TP -\fB\-l\fR, \fB\-\-log\-file\fR \fIlogfile\fR -Name of file where log output is written to\&. - -.TP -\fB\-d\fR, \fB\-\-daemonize\fR -Detach daemon from shell\&. - -.TP -\fB\-v\fR, \fB\-vv\fR, \fB\-vvv\fR -Control verbosity of daemon\&. The more v the more verbose\&. - -.TP -\fB\-r\fR, \fB\-\-allow\-run\-as\-user\fR -Force running the scheduler with user rights\&. Usually you will need to run the scheduler with root rights\&. - -.SH "SEE ALSO" - -.PP -icecream, scheduler, iceccd, icemon - -.SH "AUTHOR" - -.PP -Cornelius Schumacher - diff --git a/packaging/icecream-manpages.tar.bz2 b/packaging/icecream-manpages.tar.bz2 Binary files differnew file mode 100755 index 0000000..e211409 --- /dev/null +++ b/packaging/icecream-manpages.tar.bz2 diff --git a/packaging/icecream.changes b/packaging/icecream.changes index 283df3d..001cc17 100644..100755 --- a/packaging/icecream.changes +++ b/packaging/icecream.changes @@ -1,3 +1,32 @@ +* Mon Sep 16 2013 UkJung Kim <ujkim@samsung.com> - submit/trunk/20121120.114348 +- PROJECT: external/icecream +- COMMIT_ID: 256b2baaf3970d34d3e54d04f2f728a9cf207185 +- PATCHSET_REVISION: 256b2baaf3970d34d3e54d04f2f728a9cf207185 +- CHANGE_OWNER: \"UkJung Kim\" <ujkim@samsung.com> +- PATCHSET_UPLOADER: \"UkJung Kim\" <ujkim@samsung.com> +- CHANGE_URL: http://slp-info.sec.samsung.net/gerrit/103457 +- PATCHSET_REVISION: 256b2baaf3970d34d3e54d04f2f728a9cf207185 +- TAGGER: UkJung Kim <ujkim@samsung.com> +- Gerrit patchset approval info: +- UkJung Kim <ujkim@samsung.com> Verified : 1 +- Newton Lee <newton.lee@samsung.com> Code Review : 2 +- CHANGE_SUBJECT: Initial commit + +- [Version] 0.9.7 +- [Project] GT-I8800 +- [Title] Initial Commit +- [BinType] PDA +- [Customer] Open +- [Issue#] N/A +- [Problem] N/A +- [Cause] N/A +- [Solution] Initial Commit +- [Team] SCM +- [Developer] UkJung Kim <ujkim@samsung.com> +- [Request] N/A +- [Horizontal expansion] N/A +- [SCMRequest] N/A + ------------------------------------------------------------------- Thu May 19 10:55:02 UTC 2011 - coolo@novell.com diff --git a/packaging/icecream.spec b/packaging/icecream.spec index 52ee862..273f5a4 100644..100755 --- a/packaging/icecream.spec +++ b/packaging/icecream.spec @@ -25,17 +25,16 @@ License: GPLv2+ ; LGPLv2.1+ Group: Development/Tools/Building Summary: For Distributed Compile in the Network Requires: /bin/tar /usr/bin/bzip2 -%if 0%{?suse_version} -PreReq: %fillup_prereq -PreReq: %insserv_prereq -%endif -PreReq: /usr/sbin/useradd /usr/sbin/groupadd +Requires(pre): /usr/sbin/useradd +Requires(pre): /usr/sbin/groupadd Requires: gcc-c++ Version: 0.9.7 Release: 1 -Source0: ftp://ftp.suse.com/pub/projects/icecream/icecc-%{version}.tar.bz2 +VCS: external/icecream#submit/trunk/20121120.114348-0-g256b2baaf3970d34d3e54d04f2f728a9cf207185 +Source0: ftp://ftp.suse.com/pub/projects/icecream/icecream-%{version}.tar.bz2 Source1: %name-manpages.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch1: rusage.patch %description icecream is the next generation distcc. @@ -52,6 +51,7 @@ icecream is the next generation distcc. %prep %setup -q -a 1 -n icecc-%{version} +%patch1 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" diff --git a/packaging/rusage.patch b/packaging/rusage.patch new file mode 100755 index 0000000..99bd25d --- /dev/null +++ b/packaging/rusage.patch @@ -0,0 +1,10 @@ +--- icecc-0.9.7/daemon/workit_org.cpp 2012-11-14 10:05:46.000000000 +0900 ++++ icecc-0.9.7/daemon/workit.cpp 2013-08-08 17:40:52.573686898 +0900 +@@ -35,6 +35,7 @@ + /* According to earlier standards */ + #include <sys/time.h> + #include <sys/types.h> ++#include <sys/resource.h> + #include <unistd.h> + #include <sys/fcntl.h> + #include <sys/wait.h> |