patch-configure_in 707 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-configure_in,v 1.1.1.1 2006/06/12 11:14:08 espie Exp $
  2. --- configure.in.orig Thu Jul 28 23:26:00 2005
  3. +++ configure.in Mon Jun 12 13:04:54 2006
  4. @@ -307,7 +307,8 @@ AC_MSG_RESULT("yes")
  5. # -------------------------------------------------------------------------
  6. AC_MSG_CHECKING("whether system V style IPC services are supported")
  7. -AC_TRY_LINK([#include <sys/ipc.h>
  8. +AC_TRY_LINK([#include <sys/types.h>
  9. +#include <sys/ipc.h>
  10. #include <sys/shm.h>
  11. #include <sys/sem.h>
  12. ], [
  13. @@ -354,7 +355,8 @@ fi
  14. AC_MSG_CHECKING("do we have union semun defined")
  15. AC_TRY_COMPILE(
  16. -[#include <sys/ipc.h>
  17. +[#include <sys/types.h>
  18. +#include <sys/ipc.h>
  19. #include <sys/shm.h>
  20. #include <sys/sem.h>
  21. ], [