summaryrefslogtreecommitdiff
path: root/gpt.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 /gpt.h
parentb160f90589abf830a704dc8d1482306bf7fa77cf (diff)
downloadsgdisk-273fff5c84288f3c09b32521d1217619e9cc079e.tar.gz
Adjust position of multiple-inclusion protection in .h files
Diffstat (limited to 'gpt.h')
-rw-r--r--gpt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpt.h b/gpt.h
index a5be961..9ba013b 100644
--- a/gpt.h
+++ b/gpt.h
@@ -4,6 +4,9 @@
/* This program is copyright (c) 2009-2011 by Roderick W. Smith. It is distributed
under the terms of the GNU GPL version 2, as detailed in the COPYING file. */
+#ifndef __GPTSTRUCTS
+#define __GPTSTRUCTS
+
#include <stdint.h>
#include <sys/types.h>
#include "gptpart.h"
@@ -12,9 +15,6 @@
#include "bsd.h"
#include "gptpart.h"
-#ifndef __GPTSTRUCTS
-#define __GPTSTRUCTS
-
// Default values for sector alignment
#define DEFAULT_ALIGNMENT 2048
#define MAX_ALIGNMENT 65536