Re: aegis-4.24.3 fails to compile on FreeBSD 10.0-ALPHA2
Walter Franzini <[email protected]>
| Newsgroups | gmane.comp.version-control.aegis.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Sep 24 2013, Aryeh Friedman wrote: > Here goes the patch for it: > > --- aegrep/main.cc.old 2013-09-23 22:11:38.000000000 +0100 > +++ aegrep/main.cc 2013-09-23 22:11:53.000000000 +0100 > @@ -15,6 +15,7 @@ > // You should have received a copy of the GNU General Public License along > // with this program. If not, see <http://www.gnu.org/licenses/>. > // > +#include <sys/wait.h> > > #include <common/ac/stdio.h> > #include <common/ac/stdlib.h> To be accepted upstream this needs to be done in a slightly different way: 1. add sys/wait.h in the AC_CHECK_HEADERS list in etc/configure.ac; 2. create the common/ac/sys/wait.h file. 3. #include <common/ac/sys/wait.h> where needed ciao -- walter franzini NordCom S.p.A. Piazza Cadorna, 14 20123 Milano Tel. 02.72151.970, Fax 02.72151.909 Mobile: 3357517911