replace HOST_NAME_MAX by _POSIX_HOST_NAME_MAX for *BSD (Markus Dolze)

This commit is contained in:
marschap committed 2008-09-20 07:49:22 +00:00
1 parent 695eb1ec8f
commit 52bea0a1c7
2 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <bits/local_lim.h>
#include <limits.h>
#include <fcntl.h>
@@ -38,7 +38,7 @@ void ethlcd_HD44780_uPause(PrivateData *p, int usecs) {}
// initialisation function
int hd_init_ethlcd(Driver *drvthis)
{
char hostname[HOST_NAME_MAX];
char hostname[_POSIX_HOST_NAME_MAX];
long flags;
PrivateData *p = (PrivateData*) drvthis->private_data;