Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
include <sys/time.h> before <sys/sensors.h> for time struct timeval
[slstatus.git]
/
components
/
volume.c
diff --git
a/components/volume.c
b/components/volume.c
index
b2ffb40
..
ff25769
100644
(file)
--- a/
components/volume.c
+++ b/
components/volume.c
@@
-1,14
+1,14
@@
/* See LICENSE file for copyright and license details. */
#include <errno.h>
#include <fcntl.h>
/* See LICENSE file for copyright and license details. */
#include <errno.h>
#include <fcntl.h>
+#include <stdio.h>
+#include <string.h>
#if defined(__OpenBSD__)
#if defined(__OpenBSD__)
-
#
include <soundcard.h>
+
#
include <soundcard.h>
#else
#else
-
#
include <sys/soundcard.h>
+
#
include <sys/soundcard.h>
#endif
#include <sys/ioctl.h>
#endif
#include <sys/ioctl.h>
-#include <stdio.h>
-#include <string.h>
#include <unistd.h>
#include "../util.h"
#include <unistd.h>
#include "../util.h"