summaryrefslogtreecommitdiff
path: root/parttypes.h
diff options
context:
space:
mode:
authorRod Smith <rodsmith@rodsbooks.com>2021-01-13 14:33:54 -0500
committerRod Smith <rodsmith@rodsbooks.com>2021-01-13 14:33:54 -0500
commit273fff5c84288f3c09b32521d1217619e9cc079e (patch)
treeb2762f5491289625c7784762e5bd36a81c5fdaa5 /parttypes.h
parentb160f90589abf830a704dc8d1482306bf7fa77cf (diff)
downloadsgdisk-273fff5c84288f3c09b32521d1217619e9cc079e.tar.gz
Adjust position of multiple-inclusion protection in .h files
Diffstat (limited to 'parttypes.h')
-rw-r--r--parttypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/parttypes.h b/parttypes.h
index 2b80026..92f3d64 100644
--- a/parttypes.h
+++ b/parttypes.h
@@ -1,6 +1,9 @@
/* This program is copyright (c) 2009-2018 by Roderick W. Smith. It is distributed
under the terms of the GNU GPL version 2, as detailed in the COPYING file. */
+#ifndef __PARTITION_TYPES
+#define __PARTITION_TYPES
+
#include <stdint.h>
#include <stdlib.h>
#ifdef USE_UTF16
@@ -12,9 +15,6 @@
#include "support.h"
#include "guid.h"
-#ifndef __PARTITION_TYPES
-#define __PARTITION_TYPES
-
using namespace std;
// A partition type