fd44dda67e
the system headers. Depend on errno.h to define errno, fix an instance where errno is used without errno.h Since this is a bug for a threaded program and icecast at the very least is linked threaded here, bump the revision.
20 lines
410 B
Text
20 lines
410 B
Text
$NetBSD: patch-ak,v 1.1 2005/11/11 17:21:11 joerg Exp $
|
|
|
|
--- src/commands.c.orig 2005-11-11 17:11:42.000000000 +0000
|
|
+++ src/commands.c
|
|
@@ -35,6 +35,7 @@
|
|
#endif
|
|
|
|
#include <ctype.h>
|
|
+#include <errno.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <sys/types.h>
|
|
@@ -85,7 +86,6 @@
|
|
|
|
#include <time.h>
|
|
|
|
-extern int errno;
|
|
extern int running;
|
|
extern server_info_t info;
|
|
extern mutex_t library_mutex;
|