aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/dahdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/dahdi.c')
-rw-r--r--src/input/dahdi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/dahdi.c b/src/input/dahdi.c
index 4fd4e61..a4dbd03 100644
--- a/src/input/dahdi.c
+++ b/src/input/dahdi.c
@@ -22,6 +22,10 @@
*
*/
+#include "../../config.h"
+
+#ifdef HAVE_DAHDI_USER_H
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
@@ -461,3 +465,5 @@ int e1inp_dahdi_init(void)
/* register the driver with the core */
return e1inp_driver_register(&dahdi_driver);
}
+
+#endif /* HAVE_DAHDI_USER_H */