All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [COMMITTED] lapi/sem.h: Adjust "sys/sem.h" position
@ 2020-12-30  9:09 Yang Xu
  0 siblings, 0 replies; only message in thread
From: Yang Xu @ 2020-12-30  9:09 UTC (permalink / raw)
  To: ltp

Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
 include/lapi/sem.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/lapi/sem.h b/include/lapi/sem.h
index 7cef3d5a7..8ba92de36 100644
--- a/include/lapi/sem.h
+++ b/include/lapi/sem.h
@@ -2,12 +2,11 @@
 /*
  * Copyright (c) 2015 Linux Test Project
  */
-
-#include <sys/sem.h>
-
 #ifndef LAPI_SEM_H
 #define LAPI_SEM_H
 
+#include <sys/sem.h>
+
 #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
 /* union semun is defined by including <sys/sem.h> */
 #else
-- 
2.23.0




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-30  9:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-30  9:09 [LTP] [COMMITTED] lapi/sem.h: Adjust "sys/sem.h" position Yang Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.