missing include breaks build on FreeBSD

Hi,
this happens on FreeBSD RELENG_5_1:

...
compiling 'src/utils/e2_hook.c'
In file included from src/utils/e2_hook.h:24,
                 from src/utils/e2_hook.c:32:
src/utils/e2_utils.h:61: error: syntax error before "mode"
gmake: *** [objs/src/utils/e2_hook.o] Error 1
*** Error code 2
...

The errornous line is the 

gint S_ISEXE (mode_t mode);

declaration. Please put 

#include <sys/types.h>

into e2_utils.h, which seems to fix the problem.
Do you update the version again or shall I add a patch file for the FreeBSD
port?

Regards
Marcus

-- 
We don't understand the software, and sometimes we don't understand the 
hardware, but we can *see* the blinking lights!

-- Attached file included as plaintext by Ecartis --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAleczo/JpszXavhwRAovYAJ9AEEo8PRk+HsU0u1hDRGt1Mp2/ggCfdMZC
MGvUqzVQ358dAhfHQ7BiYK8=
=fpLG
-----END PGP SIGNATURE-----


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: