/** \file fd.c helper functions for file descriptor handling */
#include "para.h"
+
+#include <sys/select.h>
+
#include "error.h"
/**
* check whether a file exists
#include "ipc.h"
#include <sys/ipc.h>
#include <sys/shm.h>
+#include <sys/sem.h>
/** abort if semget() failed that many times */
#define MAX_SEMOP_RETRIES 500
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <sys/ipc.h>
-#include <sys/sem.h>
#include <ctype.h>
#include <sys/un.h> /* needed by create_pf_socket */
#include "gcc-compat.h"