GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
/****************************************************************************1**2*A pq_defs.h ANUPQ source Eamonn O'Brien3**4*Y Copyright 1995-2001, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany5*Y Copyright 1995-2001, School of Mathematical Sciences, ANU, Australia6**7*/89/* definition file for p-quotient program */1011#ifndef ANUPQ_DEFINES_H12#define ANUPQ_DEFINES_H1314#include "config.h"1516enum {17FALSE = 0,18TRUE = 119};20typedef int Logical;2122#define PRINT printf2324#include <stdio.h>25#include <stdlib.h>26#include <math.h>27#include <ctype.h>28#include <string.h>29#include <limits.h>30#include <time.h>3132#ifdef HAVE_UNISTD_H33#include <unistd.h>34#endif3536/* under Solaris, CLK_TCK is defined in <limits.h> */3738#if !defined (CLK_TCK)39#define CLK_TCK 6040#endif4142#define CLK_SCALE 1.0 / CLK_TCK4344#ifdef HAVE_GMP45#include "gmp.h"46#endif4748#define COMMENT '#'4950#define RESET(File) (rewind((File)))5152#define MOD(a, b) ((a) % (b))5354#define WORD_LENGTH (8 * sizeof (int) - 1)5556/* fixed storage or decision made at run-time? */5758#if (RUN_TIME)59#include "storage_runtime.h"60#else61#include "storage_fixed.h"62#endif6364#ifdef MIN65#undef MIN66#endif6768#ifdef MAX69#undef MAX70#endif7172#define MIN(A, B) ((A) < (B) ? (A) : (B))73#define MAX(A, B) ((A) > (B) ? (A) : (B))74#define SWAP(A, B) {int t; t = A; A = B; B = t;}7576#include "pq_functions.h"7778#endif798081