8000 Fix saslwrapper.cpp build for OSX · Tagar/python-sasl@14943c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 14943c6

Browse files
committed
Fix saslwrapper.cpp build for OSX
The malloc.h is probably too old/deprecated. Though still present at a different location in OSX, since stdlib.h includes the functions it provides, better to just switch to stdlib.h.
1 parent 5a2c5cd commit 14943c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sasl/saslwrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "saslwrapper.h"
2121
#include <sasl/sasl.h>
2222
#include <sstream>
23-
#include <malloc.h>
23+
#include <stdlib.h>
2424
#include <string.h>
2525
#include <unistd.h>
2626
#include <iostream>

0 commit comments

Comments
 (0)
0