summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/core/slang-http.cpp2
-rw-r--r--source/core/unix/slang-unix-process.cpp4
2 files changed, 5 insertions, 1 deletions
diff --git a/source/core/slang-http.cpp b/source/core/slang-http.cpp
index bb5994635..3da22ba9c 100644
--- a/source/core/slang-http.cpp
+++ b/source/core/slang-http.cpp
@@ -158,7 +158,7 @@ void HTTPHeader::reset()
void HTTPHeader::append(StringBuilder& out) const
{
// Output the content length
- out << g_contentLength << ": " << m_contentLength << "\r\n";
+ out << g_contentLength << ": " << SlangSizeT(m_contentLength) << "\r\n";
// If either is set construct a content type
if (m_mimeType.getLength() || m_encoding.getLength())
diff --git a/source/core/unix/slang-unix-process.cpp b/source/core/unix/slang-unix-process.cpp
index 1f58f5725..991d905d9 100644
--- a/source/core/unix/slang-unix-process.cpp
+++ b/source/core/unix/slang-unix-process.cpp
@@ -19,6 +19,10 @@
#include <sys/wait.h>
#include <unistd.h>
+#if SLANG_OSX
+# include <signal.h>
+#endif
+
#include <time.h>
namespace Slang {