1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-23 04:04:54 +08:00

Merge pull request #118 from Rimco/patch-1

Updated serial.cc for FreeBSD 9 compatibility.
This commit is contained in:
William Woodall 2015-12-02 09:06:25 -08:00
commit 2d416f1560

View File

@ -1,7 +1,7 @@
/* Copyright 2012 William Woodall and John Harrison */
#include <algorithm>
#if !defined(_WIN32) && !defined(__OpenBSD__)
#if !defined(_WIN32) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
# include <alloca.h>
#endif