projects
/
lede-git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: BSD compile fixes
[lede-git/.git]
/
tools
/
include
/
getline.h
diff --git
a/tools/include/getline.h
b/tools/include/getline.h
index 02df6c2f7900734aa9798c3eeef0cc6e9607ae88..3ac21715b885426f66df83a85d60b04632db9d5f 100644
(file)
--- a/
tools/include/getline.h
+++ b/
tools/include/getline.h
@@
-32,7
+32,7
@@
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-#if !defined(__linux__) && !(defined(__APPLE__) && __DARWIN_C_LEVEL >= 200809L)
+#if !defined(__linux__) && !
defined(__OpenBSD__) && !
(defined(__APPLE__) && __DARWIN_C_LEVEL >= 200809L)
/*
* Emulate glibc getline() via BSD fgetln().
* Note that outsize is not changed unless memory is allocated.
/*
* Emulate glibc getline() via BSD fgetln().
* Note that outsize is not changed unless memory is allocated.