* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <babeltrace/compat/dirent.h>
-#include <babeltrace/compat/limits.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <babeltrace/compat/dirent-internal.h>
+#include <babeltrace/compat/limits-internal.h>
#include <sys/stat.h>
void recursive_rmdir(const char *path)