Fix building of mongoose under FreeBSD. #17

Merged
merged 1 commit into from Sep 4, 2012

Conversation

Projects
None yet
2 participants
Contributor

dnaeon commented Sep 4, 2012

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

#define _XOPEN_SOURCE

This also fixes the build under FreeBSD.

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.

cpq added a commit that referenced this pull request Sep 4, 2012

Merge pull request #17 from dnaeon/freebsd-fix
Fix building of mongoose under FreeBSD.

@cpq cpq merged commit fadb60d into cesanta:master Sep 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment