Skip to content
Myr

main: include libgen.h, should fix build errors on FreeBSD

Before adoption: this commit came in with the history the project adopted, so no landing records it.

error: implicit declaration of function 'basename' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

authored by Daniel Eklöf · committed by Daniel Eklöf · parent ffec2bc · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:main.c+1 added
5 unmodified lines
6#include <errno.h>7#include <threads.h>89#include <locale.h>10#include <libgen.h>1112#include <sys/types.h>13#include <sys/mman.h>14#include <sys/stat.h>
1081 unmodified lines