summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-12-01 16:42:37 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-12-01 16:42:37 -0800
commita5d6499d666fea4a9988118ddd3a5e4c9cfcc32c (patch)
treeb8bc7ee57369352ac8664a2561a7b88edde33e6a /configure.ac
parent89b2aa9be81613cb1a06bd535bf50ecf2a00208d (diff)
Fix syntax error in configure check for SYSV_IPC that broke with Sun cc
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index db2234f9a..1aa5455b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,7 +174,7 @@ AC_CACHE_CHECK([for SYSV IPC],
[AC_TRY_LINK([
#include <sys/shm.h>
],[
-int main () {
+{
int id;
id = shmget(IPC_PRIVATE, 512, SHM_W | SHM_R);
if (id < 0) return -1;