summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-07-30 16:54:11 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-07-30 16:54:11 +0000
commit456db041be0988c7c6d7148ae5dcd4796aa9007a (patch)
tree9d8999cb850cc953b301d1b721a9aa4b6beb7b7b
parent03f78db196c2c1992aae370246a580ce7b14ecf6 (diff)
fix linux includes
-rw-r--r--bf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/bf.c b/bf.c
index 86a298e..6e10416 100644
--- a/bf.c
+++ b/bf.c
@@ -15,7 +15,12 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#if defined(__linux__)
+#include <bsd/sys/queue.h>
+#else
#include <sys/queue.h>
+#endif
+#include <sys/types.h>
#include <sys/stat.h>
#include <err.h>
#include <fcntl.h>