Skip to content

Commit 8791549

Browse files
committed
fix: build on haiku
1 parent cf9de23 commit 8791549

File tree

1 file changed

+2
-2
lines changed
  • std/src/sys/pal/unix

1 file changed

+2
-2
lines changed

std/src/sys/pal/unix/os.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,9 @@ pub fn current_exe() -> io::Result<PathBuf> {
465465
let mut name = vec![0; libc::PATH_MAX as usize];
466466
unsafe {
467467
let result = libc::find_path(
468-
std::ptr::null_mut(),
468+
crate::ptr::null_mut(),
469469
libc::path_base_directory::B_FIND_PATH_IMAGE_PATH,
470-
std::ptr::null_mut(),
470+
crate::ptr::null_mut(),
471471
name.as_mut_ptr(),
472472
name.len(),
473473
);

0 commit comments

Comments
 (0)