|
|
| version 1.4, 2025/03/09 19:50:47 | version 1.5, 2025/03/24 02:56:50 |
|---|---|
| Line 24 | Line 24 |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | * $Log$ |
| * Revision 1.5 2025/03/24 02:56:50 snw | |
| * Shared memory compatibility fixes for OS/2 | |
| * | |
| * Revision 1.4 2025/03/09 19:50:47 snw | * Revision 1.4 2025/03/09 19:50:47 snw |
| * Second phase of REUSE compliance and header reformat | * Second phase of REUSE compliance and header reformat |
| * | * |
| Line 48 | Line 51 |
| #include <sys/ipc.h> | #include <sys/ipc.h> |
| #include <sys/sem.h> | #include <sys/sem.h> |
| #if !defined(__OpenBSD__) && !defined(__APPLE__) | #if !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__OS2__) |
| union semun { | union semun { |
| int val; /* Value for SETVAL */ | int val; /* Value for SETVAL */ |
| struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */ | struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */ |