Commit 755d7bf1 authored by rswindell's avatar rswindell
Browse files

kd.h is Unix-specific.

parent a4386412
...@@ -38,12 +38,15 @@ ...@@ -38,12 +38,15 @@
#include <string.h> /* strlen() */ #include <string.h> /* strlen() */
#include <stdlib.h> /* RAND_MAX */ #include <stdlib.h> /* RAND_MAX */
#include <fcntl.h> /* O_NOCTTY */ #include <fcntl.h> /* O_NOCTTY */
#ifdef __unix__
#ifndef __FreeBSD__ #ifndef __FreeBSD__
#include <sys/kd.h> /* KIOCSOUND */ #include <sys/kd.h> /* KIOCSOUND */
#endif #endif
#ifdef __FreeBSD__ #ifdef __FreeBSD__
#include <sys/kbio.h> #include <sys/kbio.h>
#endif #endif
#endif /* __unix__ */
#include "genwrap.h" /* Verify prototypes */ #include "genwrap.h" /* Verify prototypes */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment