Xinqi Bao's Git

include <sys/time.h> before <sys/sensors.h> for time struct timeval
[slstatus.git] / components / volume.c
index b2ffb40..ff25769 100644 (file)
@@ -1,14 +1,14 @@
 /* See LICENSE file for copyright and license details. */
 #include <errno.h>
 #include <fcntl.h>
+#include <stdio.h>
+#include <string.h>
 #if defined(__OpenBSD__)
-include <soundcard.h>
+       #include <soundcard.h>
 #else
-include <sys/soundcard.h>
+       #include <sys/soundcard.h>
 #endif
 #include <sys/ioctl.h>
-#include <stdio.h>
-#include <string.h>
 #include <unistd.h>
 
 #include "../util.h"