Some patches to make dietlibc work...

This commit is contained in:
Eric Andersen
2001-07-22 23:00:15 +00:00
parent 20aab260e2
commit 8d79ce8320
19 changed files with 62 additions and 28 deletions

View File

@@ -36,17 +36,18 @@
#include <sys/syslog.h>
#else
/* We have to do this since the header file defines static
* structures. Argh.... bad libc, bad, bad...
*/
#include <sys/syslog.h>
typedef struct _code {
char *c_name;
int c_val;
} CODE;
extern CODE prioritynames[];
extern CODE facilitynames[];
# ifndef __dietlibc__
/* We have to do this since the header file defines static
* structures. Argh.... bad libc, bad, bad...
*/
typedef struct _code {
char *c_name;
int c_val;
} CODE;
extern CODE prioritynames[];
extern CODE facilitynames[];
# endif
#endif
/* Decode a symbolic name to a numeric value