]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/magic.h
The use of <net/ppp_defs.h> isn't guranteed to exist on Linux (e.g. uclibc, buildroot...
[ppp.git] / pppd / magic.h
index b864b7bc8ddb8b4dab7eb86eea7ab4d63d01920f..70e4ce528238390da2367aab47b01a3e075fe9b4 100644 (file)
@@ -39,6 +39,9 @@
  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
+#ifndef PPP_MAGIC_H
+#define PPP_MAGIC_H
+
 #include "pppdconf.h"
 
 void magic_init (void);        /* Initialize the magic number generator */
@@ -46,3 +49,5 @@ u_int32_t magic (void);       /* Returns the next magic number */
 
 /* Fill buffer with random bytes */
 void random_bytes (unsigned char *buf, int len);
+
+#endif