commit cb3a54ee753a224e23d5386b8639d26297de8fd0
parent 7f4b2b7b6c1b74e25cb59b1fac0d4941de35f7d1
Author: Kyle Milz <kyle@0x30.net>
Date: Wed, 13 Jul 2016 22:56:22 -0600
lib: reorder includes
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/runtime.c b/lib/runtime.c
@@ -13,6 +13,13 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/socket.h> /* socket */
+#include <sys/un.h> /* sockaddr_un */
+#if __APPLE__
+#include <sys/types.h> /* read */
+#include <sys/uio.h> /* read */
+#endif
+
#include <assert.h>
#include <err.h> /* err, errx, warn */
#include <limits.h> /* PATH_MAX */
@@ -21,13 +28,6 @@
#include <string.h> /* strlcpy */
#include <unistd.h> /* access, get{pid,ppid,pgrp}, read, write */
-#include <sys/socket.h> /* socket */
-#include <sys/un.h> /* sockaddr_un */
-#if __APPLE__
-#include <sys/types.h> /* read */
-#include <sys/uio.h> /* read */
-#endif
-
#include "runtime.h"
static struct citrun_node *nodes_head;