forked from bonsai/harakit
rpn(1): fixes erroneous OpenBSD-gated import
This commit is contained in:
parent
982c67df13
commit
bd8bc0094d
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Emma Tebibyte <emma@tebibyte.media>
|
* Copyright (c) 2024–2025 Emma Tebibyte <emma@tebibyte.media>
|
||||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify it under
|
* This program is free software: you can redistribute it and/or modify it under
|
||||||
@ -52,14 +52,14 @@ use std::{
|
|||||||
|
|
||||||
use CalcType::*;
|
use CalcType::*;
|
||||||
|
|
||||||
|
extern crate strerror;
|
||||||
extern crate sysexits;
|
extern crate sysexits;
|
||||||
|
|
||||||
|
use strerror::StrError;
|
||||||
use sysexits::{ EX_DATAERR, EX_IOERR };
|
use sysexits::{ EX_DATAERR, EX_IOERR };
|
||||||
|
|
||||||
#[cfg(target_os="openbsd")] use sysexits::EX_OSERR;
|
#[cfg(target_os="openbsd")] use sysexits::EX_OSERR;
|
||||||
#[cfg(target_os="openbsd")] extern crate strerror;
|
|
||||||
#[cfg(target_os="openbsd")] extern crate openbsd;
|
#[cfg(target_os="openbsd")] extern crate openbsd;
|
||||||
#[cfg(target_os="openbsd")] use strerror::StrError;
|
|
||||||
#[cfg(target_os="openbsd")] use openbsd::{ Promises, pledge, unveil };
|
#[cfg(target_os="openbsd")] use openbsd::{ Promises, pledge, unveil };
|
||||||
|
|
||||||
#[derive(Clone, PartialEq, PartialOrd, Debug)]
|
#[derive(Clone, PartialEq, PartialOrd, Debug)]
|
||||||
|
Loading…
Reference in New Issue
Block a user