diff --git a/ragel/main.cpp b/ragel/main.cpp
index f5fbd7b..947b1c8 100644
--- a/ragel/main.cpp
+++ b/ragel/main.cpp
@@ -24,9 +24,7 @@
 #include <stdio.h>
 #include <iostream>
 #include <fstream>
-#include <unistd.h>
 #include <sstream>
-#include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
