diff --git a/crypto777/jpeg/unix/jmemname.c b/crypto777/jpeg/unix/jmemname.c index 3c6f58f18..5fa4313b9 100644 --- a/crypto777/jpeg/unix/jmemname.c +++ b/crypto777/jpeg/unix/jmemname.c @@ -128,7 +128,7 @@ select_file_name (char * fname) { next_file_num++; /* advance counter */ sprintf(fname, TEMP_FILE_NAME, TEMP_DIRECTORY, next_file_num); - mktemp(fname); /* make sure file name is unique */ + mkstemp(fname); /* make sure file name is unique */ /* mktemp replaces the trailing XXXXXX with a unique string of characters */ } diff --git a/iguana/m_osx b/iguana/m_osx index 5aa8b2b7d..b4b650e9d 100755 --- a/iguana/m_osx +++ b/iguana/m_osx @@ -1 +1 @@ -gcc -Wno-deprecated -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lm +gcc -Wno-deprecated -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lpthread -lm diff --git a/iguana/m_unix b/iguana/m_unix index 390a2c591..8acb60c03 100755 --- a/iguana/m_unix +++ b/iguana/m_unix @@ -1 +1 @@ -gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lm +gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lpthread -lm diff --git a/iguana/m_win32 b/iguana/m_win32 index e3e0899f6..e45cfad34 100755 --- a/iguana/m_win32 +++ b/iguana/m_win32 @@ -1 +1 @@ -echo do equivalent of: gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lm +echo do equivalent of: gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lpthread -lm diff --git a/iguana/m_win64 b/iguana/m_win64 index e3e0899f6..e45cfad34 100755 --- a/iguana/m_win64 +++ b/iguana/m_win64 @@ -1 +1 @@ -echo do equivalent of: gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lm +echo do equivalent of: gcc -o ../agents/iguana -O2 *.c ../agents/libcrypto777.a -lssl -lcrypto -lpthread -lm