Commit 1ce7b0c8 authored by Marc G. Fournier's avatar Marc G. Fournier

The test for union semun requires <sys/ipc.h>

Pointed out by Bruce
parent 89868af4
This diff is collapsed.
...@@ -141,6 +141,7 @@ AC_TRY_LINK([#include <time.h>], ...@@ -141,6 +141,7 @@ AC_TRY_LINK([#include <time.h>],
AC_MSG_CHECKING(for union semun) AC_MSG_CHECKING(for union semun)
AC_TRY_LINK([#include <sys/types.h> AC_TRY_LINK([#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>], #include <sys/sem.h>],
[union semun semun;], [union semun semun;],
[AC_DEFINE(HAVE_UNION_SEMUN) AC_MSG_RESULT(yes)], [AC_DEFINE(HAVE_UNION_SEMUN) AC_MSG_RESULT(yes)],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment