aboutsummaryrefslogtreecommitdiffstats
path: root/src/radharc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/radharc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radharc.c b/src/radharc.c
index cc7d309..87c659d 100644
--- a/src/radharc.c
+++ b/src/radharc.c
@@ -14,10 +14,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "solar.h"
#include "state.h"
#include "macros.h"
+#include <libred.h>
#include <libhaiku.h>
@@ -34,7 +34,7 @@ main(int argc, char *argv[])
{
struct settings settings;
- t (check_timetravel());
+ t (libred_check_timetravel());
parse_command_line(argc, argv, &settings);
argv0 = argv0 ? argv0 : "radharc";
t (get_state_pathname(&settings));
@@ -42,7 +42,7 @@ main(int argc, char *argv[])
return 0;
fail:
- haiku(argv0);
+ libhaiku_perror(argv0);
return 1;
}