summaryrefslogtreecommitdiff
path: root/modules/devices/printers.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/devices/printers.c')
-rw-r--r--modules/devices/printers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/devices/printers.c b/modules/devices/printers.c
index 655d73c5..25a6edd7 100644
--- a/modules/devices/printers.c
+++ b/modules/devices/printers.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef _XOPEN_SOURCE
+ #define _XOPEN_SOURCE
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <time.h>