summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-03-25 12:30:33 +0100
committerMichał Cichoń <michcic@gmail.com>2017-05-17 04:37:39 +0200
commit21b167532b07f631b107968837dcfdf93025239b (patch)
tree77fc64840d2dabd15a55861c4eac9c23c03bb82b /src/settings.h
parenta0f2fe714a64c88fb86a9fa09c5a5918e7f30d7a (diff)
downloadpianobar-windows-21b167532b07f631b107968837dcfdf93025239b.tar.gz
pianobar-windows-21b167532b07f631b107968837dcfdf93025239b.tar.bz2
pianobar-windows-21b167532b07f631b107968837dcfdf93025239b.zip
Switch to #pragma once
# Conflicts: # src/http/http.h # src/player.h
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.h b/src/settings.h
index f8225ce..0edb544 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -21,8 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
-#ifndef SRC_SETTINGS_H_IPL0ON9L
-#define SRC_SETTINGS_H_IPL0ON9L
+#pragma once
#include <stdbool.h>
@@ -83,6 +82,8 @@ typedef struct {
char *postfix;
} BarMsgFormatStr_t;
+#include "ui_types.h"
+
typedef struct {
bool autoselect;
unsigned int history, maxPlayerErrors;
@@ -116,4 +117,3 @@ void BarSettingsDestroy (BarSettings_t *);
void BarSettingsRead (BarSettings_t *);
void BarSettingsWrite (PianoStation_t *, BarSettings_t *);
-#endif /* SRC_SETTINGS_H_IPL0ON9L */