diff options
Diffstat (limited to 'file_cmds/ipcs')
| -rw-r--r-- | file_cmds/ipcs/Makefile | 5 | ||||
| -rw-r--r-- | file_cmds/ipcs/ipcs.c | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/file_cmds/ipcs/Makefile b/file_cmds/ipcs/Makefile new file mode 100644 index 0000000..1d79542 --- /dev/null +++ b/file_cmds/ipcs/Makefile @@ -0,0 +1,5 @@ +PROG= ipcs + +CFLAGS+=-Duser32_time_t=user_time_t -Duser32_addr_t=user_addr_t -Duser64_time_t=user_time_t + +.include <bsd.prog.mk> diff --git a/file_cmds/ipcs/ipcs.c b/file_cmds/ipcs/ipcs.c index 986b229..8ee4e0e 100644 --- a/file_cmds/ipcs/ipcs.c +++ b/file_cmds/ipcs/ipcs.c @@ -42,19 +42,19 @@ #include <unistd.h> #include <sysexits.h> -#include "sys/types.h" +#include <sys/types.h> #include <sys/ucred.h> #include <sys/time.h> #include <sys/proc.h> #include <sys/param.h> #include <sys/sysctl.h> #include <errno.h> -#include "sys/ipcs.h" +#include <sys/ipcs.h> #define KERNEL 1 /* To get new ipc_perm and __(sem|shm|msg)ds_new */ -#include "sys/ipc.h" -#include "sys/sem_internal.h" -#include "sys/shm_internal.h" -#include "sys/msg.h" +#include <sys/ipc.h> +#include <sys/sem_internal.h> +#include <sys/shm_internal.h> +#include <sys/msg.h> /* The following is a kludge, until the problem of multiple inclusions |
