]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/spinlock.h
The use of <net/ppp_defs.h> isn't guranteed to exist on Linux (e.g. uclibc, buildroot...
[ppp.git] / pppd / spinlock.h
index 967fe37457fb9a69b754c3ef50fc860d729a7963..b36d2a84d8a49f839ee0d3a987be9ebf3a33814c 100644 (file)
@@ -1,9 +1,7 @@
-#ifndef __SPINLOCK_H__
-#define __SPINLOCK_H__
+#ifndef PPP_SPINLOCK_H
+#define PPP_SPINLOCK_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "pppdconf.h"
 
 #include "tdb.h"
 
@@ -56,4 +54,4 @@ int tdb_clear_spinlocks(TDB_CONTEXT *tdb);
 
 #endif
 
-#endif
+#endif // PPP_SPINLOCK_H