--- a/src/lxc/utils.h
+++ b/src/lxc/utils.h
@@ -35,11 +35,7 @@ extern int mkdir_p(const char *dir, mode
 extern char *get_rundir(void);
 
 /* Define getline() if missing from the C library */
-#ifndef HAVE_GETLINE
-#ifdef HAVE_FGETLN
-#include <../include/getline.h>
-#endif
-#endif
+#include "../include/getline.h"
 
 static inline int lxc_set_cloexec(int fd)
 {