Skip to content

Commit e4ca022

Browse files
Fix compiling System.Net.Security.Native with HAVE_HEIMDAL_HEADERS (#54682)
We are using malloc/free but don't declare a header. It likely happens to be included from GSS/GSS.h which is why it builds now, but not from the Heimdal headers.
1 parent a423f69 commit e4ca022

File tree

1 file changed

+1
-0
lines changed
  • src/libraries/Native/Unix/System.Net.Security.Native

1 file changed

+1
-0
lines changed

src/libraries/Native/Unix/System.Net.Security.Native/pal_gssapi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include <assert.h>
2121
#include <string.h>
22+
#include <stdlib.h>
2223

2324
#if defined(GSS_SHIM)
2425
#include <dlfcn.h>

0 commit comments

Comments
 (0)