Re: fix test-flock.c

2008-11-15 Thread Richard W.M. Jones
On Sat, Nov 15, 2008 at 01:33:33PM +0100, Bruno Haible wrote: > Very clear: It uses O_RDWR but does not include . Also it lacks > an include of , needed for all code that uses gnulib. Fixing it > like this: Yup, looks like a clear fix. Rich. -- Richard Jones, Emerging Technologies, Red Hat htt

fix test-flock.c

2008-11-15 Thread Bruno Haible
Hi, On Haiku this test fails to compile: /data/testdir3/gltests/test-flock.c: In function `test_shared': /data/testdir3/gltests/test-flock.c:47: warning: implicit declaration of function `open' /data/testdir3/gltests/test-flock.c:47: `O_RDWR' undeclared (first use in this function) /data/testdi