mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 04:24:19 +00:00
Include libgen.h in opt.c to fix win32 compilation warnings.
This commit is contained in:
parent
16aff37c66
commit
8d096bd317
@ -7,6 +7,7 @@
|
|||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#else
|
#else
|
||||||
|
#include <libgen.h>
|
||||||
#define errx(status, fmt, ...) { \
|
#define errx(status, fmt, ...) { \
|
||||||
fprintf(stderr, fmt, __VA_ARGS__); \
|
fprintf(stderr, fmt, __VA_ARGS__); \
|
||||||
fprintf(stderr, "\n"); \
|
fprintf(stderr, "\n"); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user