aboutsummaryrefslogtreecommitdiffstats
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h27
1 files changed, 19 insertions, 8 deletions
diff --git a/types.h b/types.h
index f09a379..1b15c73 100644
--- a/types.h
+++ b/types.h
@@ -1,14 +1,25 @@
+/* Copyright 2011 Bert Muennich
+ *
+ * This file is part of sxiv.
+ *
+ * sxiv is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License,
+ * or (at your option) any later version.
+ *
+ * sxiv is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with sxiv. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#ifndef TYPES_H
#define TYPES_H
-#undef bool
-#undef false
-#undef true
-
-typedef enum {
- false,
- true
-} bool;
+#include <stdbool.h>
typedef enum {
BO_BIG_ENDIAN,