blob: 2a4b6518353784f3f5da210ca9d7f9ef40c1fce6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aa,v 1.1 2006/01/02 22:18:22 joerg Exp $
--- src/utils.c.orig 2006-01-02 22:14:51.000000000 +0000
+++ src/utils.c
@@ -93,9 +93,8 @@ caltime_t *calc_caltime(int day, int mon
void _bailout(char *file, int line)
{
char *pname;
- extern int errno;
-#if defined(__NetBSD__)
+#if defined(__NetBSD__) || defined(__DragonFly__)
pname = (char *)getprogname();
#elif defined(__linux__)
pname = program_invocation_name;
|