Fix compile on FreeBSD.
authorRoy Marples <roy@marples.name>
Wed, 4 Mar 2015 20:27:00 +0000 (20:27 +0000)
committerRoy Marples <roy@marples.name>
Wed, 4 Mar 2015 20:27:00 +0000 (20:27 +0000)
src/libdhcpcd/config.c
src/libdhcpcd/dhcpcd.c

index 92aad29f6225faac19f5fcb918414b3569d15f91..f99063a8b023555d346022942cba0cdca60fdf1f 100644 (file)
@@ -24,6 +24,8 @@
  * SUCH DAMAGE.
  */
 
+#define _WITH_GETLINE          /* For FreeBSD */
+
 #include <assert.h>
 #include <errno.h>
 #include <stdio.h>
index 6c3be52c7f86999f8776bf256a7762acceb0c2c1..f9a932d2c9a7dcce94a5d740881d585a9a9eed2f 100644 (file)
@@ -37,7 +37,6 @@
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <libintl.h>
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>