I got bit by an interesting bug while learning to use czmq and zeromq.

If you're compiling on linux with gcc -std=c99 /AND/
you are including czmq.h /after/ stdint.h /and/
you are not defining /_BSD_SOURCE before/ stdint.h,
uint is not properly defined, causing a build error in
zrex.h ...

This patch fixes that error. It also fixes the feature detect
code for Linux hosts.

The git pull request is: "Fix header inclusion order fix #540"

This bug has shown up a few times in the mailing lists, but until
now, there hasn't been a diagnosis or a general fix.

          Jacques Richer (bl1vet)
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to