dtrace4linux/linux — pull request #19 by msabramo (2012-03-01 00:28:21+00:00)
Title: Define #DEFINE_SEMAPHORE if not defined. At some point in Linux kernel h...

...istory, DECLARE_MUTEX was renamed to DEFINE_SEMAPHORE. Older kernels like the stock kernel on Ubuntu 10.04.4 (Linux ubuntu 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i686 GNU/Linux) don't have DEFINE_SEMAPHORE in their headers.

Fixes GH-11.