valenok/mongoose — pull request #17 by dnaeon (2012-09-04 09:06:14+00:00)
Title: Fix building of mongoose under FreeBSD.

According to flockfile(3) under Linux you need only this:

#define _XOPEN_SOURCE

* http://man7.org/linux/man-pages/man3/flockfile.3.html

This also fixes the build under FreeBSD.