Wrap _BSD_SOURCE in a __linux__ define.

This commit is contained in:
Roy Marples 2007-11-09 13:43:36 +00:00
parent 4a3eaf8724
commit 385cd28a7d

View File

@ -5,7 +5,9 @@
* Distributed under the terms of the GNU General Public License v2
*/
#ifdef __linux__
#define _BSD_SOURCE
#endif
#include <sys/types.h>
#include <sys/ioctl.h>