Created
September 20, 2020 14:35
-
-
Save Erk-/ce52c073a86082cbd5ca8ad01a47a227 to your computer and use it in GitHub Desktop.
Fixes for mticlient on freebsd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r mticlient-public/mticlient/Makefile mticlient-public-freebsd/mticlient/Makefile | |
40c40 | |
< FV_LDFLAGS = -lcurl -lflexver -L`pwd`/../libflexver | |
--- | |
> FV_LDFLAGS = -lcurl -lflexver -L`pwd`/../libflexver -L/usr/local/lib | |
42c42 | |
< INCLUDE = -I../libflexver -I../thirdparty/micro-ecc/ -I../thirdparty/sha2/ -I../thirdparty/jsmn/ -I../thirdparty/b64/ | |
--- | |
> INCLUDE = -I../libflexver -I../thirdparty/micro-ecc/ -I../thirdparty/sha2/ -I../thirdparty/jsmn/ -I../thirdparty/b64/ -I/usr/local/include | |
Only in mticlient-public-freebsd/mticlient: mticlient | |
diff -r mticlient-public/mticlient/mticlient.c mticlient-public-freebsd/mticlient/mticlient.c | |
43c43,47 | |
< #include <sys/io.h> | |
--- | |
> //#include <sys/io.h> | |
> #ifdef __FreeBSD__ | |
> #include <sys/wait.h> | |
> #include <netinet/in.h> | |
> #endif | |
50a55,56 | |
> #include "/usr/local/include/curl/curl.h" | |
> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment