dj(1): fixes for OpenBSD

This commit is contained in:
Emma Tebibyte 2024-06-28 13:00:23 -06:00
parent 1660df4a63
commit 8b8d3d5296
Signed by: emma
GPG Key ID: 06FA419A1698C270

View File

@ -22,6 +22,7 @@
#include <stdio.h> /* fprintf(3), stderr */
#include <stdlib.h> /* free(3), malloc(3), strtol(3), size_t */
#include <string.h> /* memcpy(3), memmove(3), memset(3) */
#include <sys/stat.h> /* S_IRUSR, S_IWUSR, S_IRGRP, S_IWGRP, S_IROTH, S_IWOTH */
#include <sysexits.h> /* EX_OK, EX_USAGE */
#include <unistd.h> /* close(2), getopt(3), lseek(2), read(2), write(2),
* optarg, optind, STDIN_FILENO, STDOUT_FILENO */