mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
17 lines
366 B
Diff
17 lines
366 B
Diff
Fix:
|
|
|
|
fatal error: 'malloc.h' file not found
|
|
|
|
malloc.h is Linux-specific so it should not be used in portable software.
|
|
POSIX says malloc is defined in stdlib.h which is already included.
|
|
--- dict/src/lib/rsa.cpp.orig
|
|
+++ dict/src/lib/rsa.cpp
|
|
@@ -3,7 +3,6 @@
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
#include <math.h>
|
|
-#include <malloc.h>
|
|
|
|
#include "rsa.h"
|
|
|