1
0
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:
Con Kolivas 2011-09-06 09:37:52 +10:00
parent 16aff37c66
commit 8d096bd317

View File

@ -7,6 +7,7 @@
#ifndef WIN32
#include <err.h>
#else
#include <libgen.h>
#define errx(status, fmt, ...) { \
fprintf(stderr, fmt, __VA_ARGS__); \
fprintf(stderr, "\n"); \