# include <unistd.h>
#endif
-#include "../common/xmalloc.h"
+/* common */
+#include "xmalloc.h"
+/* cc65 */
#include "incpath.h"
}
/* Allocate memory for the new string */
- NewPath = xmalloc (OrigLen + NewLen + 2);
+ NewPath = (char*) xmalloc (OrigLen + NewLen + 2);
/* Copy the strings */
memcpy (NewPath, Orig, OrigLen);