From: muench Date: Tue, 15 Feb 2000 12:40:20 +0000 (+0000) Subject: Make compile work with the "new" linux sys/sem.h X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=52e826f8313e9a9e3571bcecd4da9c02616deaa2;p=daqdata.git Make compile work with the "new" linux sys/sem.h --- diff --git a/hadaq/semaphore.c b/hadaq/semaphore.c index ae16635..9d290a6 100644 --- a/hadaq/semaphore.c +++ b/hadaq/semaphore.c @@ -13,7 +13,7 @@ #include #include -#if defined(__hpux) || defined(__osf__) +#if !(defined(__Lynx__) || (defined(__linux) && __GNUC_MINOR__ < 91)) union semun { int val; struct semid_ds *buf;