diff --git a/docs/lcdproc-user/drivers/hd44780.docbook b/docs/lcdproc-user/drivers/hd44780.docbook
index 0aa49ca..e30e10b 100644
--- a/docs/lcdproc-user/drivers/hd44780.docbook
+++ b/docs/lcdproc-user/drivers/hd44780.docbook
@@ -118,11 +118,6 @@ more important. Here are the USB connection types the HD44780 driver supports:
ftdi:
Display connected to a dual channel FTDI 2232D USB chip
-
-
- ethlcd:
- Display connected via TCP to PoE powered ethlcd device ()
-
@@ -134,6 +129,11 @@ Last but not least, for special purposes, there are even more connection types:
i2c:
LCD driven by PCF8574(A)/PCA9554(A) connected via I2C
+
+
+ ethlcd:
+ Display connected via TCP to PoE powered ethlcd device ()
+
diff --git a/server/drivers/hd44780-ethlcd.c b/server/drivers/hd44780-ethlcd.c
index 53c8ffd..1ba4d9f 100644
--- a/server/drivers/hd44780-ethlcd.c
+++ b/server/drivers/hd44780-ethlcd.c
@@ -23,7 +23,7 @@
#include
#include
-#include
+#include
#include
@@ -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;